1

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

Correct Answer: mysql sampdb < exec.sql

Make the most of this question

This page focuses on one MySQL MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

MySQL MCQs MCQ: To execute the contents of a query file 'exec.sql' by feeding it to mysql, which command is used? | Extra Education