Que: To execute the contents of a query file ‘exec.sql’ by feeding it to mysql, which command is used?

a. mysql exec.sql > sampdb
b. mysql sampdb < exec.sql
c. mysql exec.sql
d. mysql exec
Answer: mysql sampdb < exec.sql

Leave a Comment