Prepared Statements | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Prepared Statements

I have only found examples with INSERT. How do you SELECT ?? but not a simple select using prepared statement

9th Feb 2017, 2:10 AM
Martin Cervantes
Martin Cervantes - avatar
2 Answers
+ 1
Select * From Table_Name -- want to see all columns Select Column_Name(s) from Table_Name -- if you want to see more than single column, you must use comma (,) between all columns Eg Select * from Employee Select Emp_No, Emp_name, Emp_DOB from Employee
9th Feb 2017, 9:26 AM
Akwin Lopez
Akwin Lopez - avatar
0
SELECT FROM table name WHERE conditions =... Eg SELECT FROM people WHERE s/n=1
13th Aug 2017, 9:42 PM
ibrahim danjuma
ibrahim danjuma - avatar