Answers for "Variable declration in mysql"

SQL
9

how to create a variable in mysql

-- MySQL

SET @variable_name := value;
Posted by: Guest on July-22-2020
-1

php variable inside mysql query

String : echo "Hello {$var}";
Sql : $query = "SELECT * FROM `table` ORDER BY `$orderby`";
Posted by: Guest on November-18-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language