Google Code Project Hosting offered a free collaborative development environment for open source projects.
In 2016 the service was shut down, see this post for more info. Projects hosted on Google Code remain available in the Google Code Archive.
UPDATE table SET count+=1 WHERE ( param1, param2, param3 ) IN( SELECT param1, param2, param3 FROM table WHERE status=@status ) and status=0;
DELETE FROM table WHERE ( param1, param2, param3 ) IN( SELECT param1, param2, param3 FROM table WHERE status=@status ) and status=@status;
SELECT O.ID, MAX(OP.VALUE) AS PREPAYMENT, SUM(EF.VALUE) AS PAYMENT
FROM b_sale_order O
LEFT JOIN `d_sale_order_prepayment` OP ON ( OP.order_id = O.ID )
LEFT JOIN `d_sale_order_excess_fare` EF ON ( EF.order_id = O.ID )
GROUP BY O.ID
$db->query('INSERT INTO `users` VALUES (?n, "?s", "?i", "?s")', null, 'Иван', '25', 'г. Клин, ЗАО "Рога и копыта"');
$db->query('INSERT INTO `users` VALUES (?n, ?s)', 1, 'Иван');