Which statement executed in the mysql client would create a prepared statement?

Using the query:
SELECT Code FROM country WHERE Name = ‘united states’
Which statement executed in the mysql client would create a prepared statement?

Using the query:
SELECT Code FROM country WHERE Name = ‘united states’
Which statement executed in the mysql client would create a prepared statement?

A.
PREPARE STATEMENT countrycode FROM ‘SELECT code FROM counyry WHERE
Name =?.;

B.
PREPARE countrycode As ‘SELECT code FROM country WHERE Name =?.;

C.
PREPARE countrycode FROM ‘SELECT code FROM country WHERE Name =?.;

D.
PREPARE STATEMENT countrycode As ‘SELECT code FROM country WHERE Name=?.;

Explanation:
Reference:
http://www.timlin.net/csm/cis363/mysql18.html



Leave a Reply 4

Your email address will not be published. Required fields are marked *