here is an example:
Code: Select all
UPDATE update_table AS a, source_table AS b SET a.update_column=b.source_table WHERE a.id=b.id;
Code: Select all
UPDATE update_table AS a, source_table AS b SET a.update_column=b.source_table WHERE a.id=b.id;
Code: Select all
VARIABLE="test 556";
VARIABLE=${VARIABLE//[0-9]/};
Code: Select all
VARIABLE=`echo $VARIABLE | sed -e 's/[0-9]*$//g'`;
Code: Select all
procmail: Error while writing to "/var/log/proclog.log"
Code: Select all
foo.example.com. IN A 192.168.1.1
bar.example.com. IN CNAME foo.example.com.
Code: Select all
li {
list-style-type: disc;
list-style-position: inside;
text-indent: -4em;
padding-left: 5em;
}
Code: Select all
SELECT ROUND( AVG(number) , 2 ) FROM table;
Code: Select all
SELECT ( AVG(number) AS DECIMAL(16, 2) )FROM table;