Reputation: 139
I am new to this. I've established a connection to my Oracle database using cx_Oracle. Say that I have a table named "student" with the following infos: "name","age","student_number","adress". Now i'm looking into inserting another row to the table. How do I check if student_number 6 already exist? Thanks in advance!
Upvotes: 0
Views: 435
Reputation: 15165
I really recommend you to take a look at the basics of SQL...
SELECT * FROM "student" WHERE "student_number" = 6
Upvotes: 1