INSERT data into a database

From Progzoo
Jump to navigation Jump to search

Insert a new row ('Andrew', 2753) into the table book.

The two questions marks ? in the SQL statement INSERT INTO book VALUES (?,?) represent two parameters to the statement. Parameter 1 gets set to the string 'Andrew', parameter 2 gets set to the integer 2753.

[Font] [Default] [Show] [Resize] [History] [Profile]