Examveda

Which option prints output in table-format when MySQL is run interactively?

A. -t

B. -tf

C. -p

D. -pf

Answer: Option A

Solution (By Examveda Team)

This question asks about how to display the output of a MySQL command in a table-like format when you're working with it directly.

Let's break down the options:
Option A: -t
This is the correct option! The `-t` flag in MySQL is specifically designed to format your query results into a neat, table-like layout. It helps make your data easier to read and understand.
Option B: -tf
This option doesn't actually exist in MySQL. It's not a recognized flag.
Option C: -p
The `-p` flag tells MySQL that you want to provide your password securely. It doesn't have anything to do with table formatting.
Option D: -pf
Like option B, this is not a valid flag in MySQL.
Therefore, the answer is Option A: -t

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous