SHARE
TWEET

Untitled

a guest Jun 17th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select `c`.`id` AS `ID`,`c`.`name` AS `Nazwa`,`g`.`amount` AS `Ilość` from (`library`.`category` `c` left join (select sum(`library`.`games`.`amount`) AS `amount`,`library`.`games`.`category_id` AS `category_id` from `library`.`games` group by `library`.`games`.`category_id`) `g` on((`g`.`category_id` = `c`.`id`)))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top