Executing SQL Query From Command Line
Print out the result of an SQL query directly from the database using the mysql command
mysql -u root Project_Tiker -sNe 'SELECT Task.name FROM Task LIMIT 0,1'
Print out the result of an SQL query directly from the database using the mysql command
mysql -u root Project_Tiker -sNe 'SELECT Task.name FROM Task LIMIT 0,1'