//sublime system build for sql
// plz enter all the information NOT between double quotations
{
"shell_cmd": "mysql -h "host name" --user="user name" --password="your database password" < "${file}"",
"selector": "source.sql",
}
-- method 1
select format('Hello, %s how are you doing today?', name) from person;
-- method 2
Select 'Hello, ' || person.name || ' how are you doing today?' from person;
-- method 3
Select Concat ('Hello, ', name, ' how are you doing today?') From person;
-- method 4
SELECT REPLACE(
'Hello, <name> how are you doing today?',
'<name>', name
) FROM person;