πŸ“Š MySQL
Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (B) mysql sampdb < exec.sql

Explanation: This question is about how to run a SQL query file in MySQL. Think of it like giving your computer a list of instructions to follow. The file 'exec.sql' contains these instructions.

Explanation by: Praveen Singh
This question is about how to run a SQL query file in MySQL. Think of it like giving your computer a list of instructions to follow. The file 'exec.sql' contains these instructions.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
79
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
80%
Success Rate