time 041 sql SELECT sklad_sklad id sklad_sklad handbookmodel_id sklad_

1
[{'time': '0.041', 'sql': u'SELECT "sklad_sklad"."id","sklad_sklad"."handbookmodel_id","sklad_sklad"."compbill_id",(SELECT SUM (sklad_compbill.quantity_numberbill) FROM sklad_sklad, sklad_compbill WHERE sklad_compbill.id = sklad_sklad.id) AS "sklad_sum" FROM "sklad_sklad"'}, {'time': '0.001', 'sql': u'SELECT "sklad_handbookmodel"."id","sklad_handbookmodel"."handbookmanufacturer_id","sklad_handbookmodel"."article","sklad_handbookmodel"."all_quantity" FROM "sklad_handbookmodel" WHERE ("sklad_handbookmodel"."id" = 1)'}, {'time': '0.001', 'sql': u'SELECT "sklad_compbill"."id","sklad_compbill"."quantity_numberbill","sklad_compbill"."bill_id","sklad_compbill"."type_effects" FROM "sklad_compbill" WHERE ("sklad_compbill"."id" = 1)'}, {'time': '0.001', 'sql': u'SELECT "sklad_handbookmodel"."id","sklad_handbookmodel"."handbookmanufacturer_id","sklad_handbookmodel"."article","sklad_handbookmodel"."all_quantity" FROM "sklad_handbookmodel" WHERE ("sklad_handbookmodel"."id" = 3)'}, {'time': '0.001', 'sql': u'SELECT "sklad_compbill"."id","sklad_compbill"."quantity_numberbill","sklad_compbill"."bill_id","sklad_compbill"."type_effects" FROM "sklad_compbill" WHERE ("sklad_compbill"."id" = 2)'}, {'time': '0.001', 'sql': u'SELECT "sklad_handbookmodel"."id","sklad_handbookmodel"."handbookmanufacturer_id","sklad_handbookmodel"."article","sklad_handbookmodel"."all_quantity" FROM "sklad_handbookmodel" WHERE ("sklad_handbookmodel"."id" = 2)'}, {'time': '0.001', 'sql': u'SELECT "sklad_compbill"."id","sklad_compbill"."quantity_numberbill","sklad_compbill"."bill_id","sklad_compbill"."type_effects" FROM "sklad_compbill" WHERE ("sklad_compbill"."id" = 3)'}, {'time': '0.001', 'sql': u'SELECT "sklad_handbookmodel"."id","sklad_handbookmodel"."handbookmanufacturer_id","sklad_handbookmodel"."article","sklad_handbookmodel"."all_quantity" FROM "sklad_handbookmodel" WHERE ("sklad_handbookmodel"."id" = 1)'}, {'time': '0.001', 'sql': u'SELECT "sklad_compbill"."id","sklad_compbill"."quantity_numberbill","sklad_compbill"."bill_id","sklad_compbill"."type_effects" FROM "sklad_compbill" WHERE ("sklad_compbill"."id" = 4)'}, {'time': '0.001', 'sql': u'SELECT "sklad_handbookmodel"."id","sklad_handbookmodel"."handbookmanufacturer_id","sklad_handbookmodel"."article","sklad_handbookmodel"."all_quantity" FROM "sklad_handbookmodel" WHERE ("sklad_handbookmodel"."id" = 1)'}, {'time': '0.001', 'sql': u'SELECT "sklad_compbill"."id","sklad_compbill"."quantity_numberbill","sklad_compbill"."bill_id","sklad_compbill"."type_effects" FROM "sklad_compbill" WHERE ("sklad_compbill"."id" = 5)'}]