fix corruption
parent
f515bb2bd7
commit
f386902358
@ -0,0 +1,5 @@
|
|||||||
|
Players
|
||||||
|
committee_members
|
||||||
|
penalties
|
||||||
|
teams
|
||||||
|
matches
|
@ -1,21 +0,0 @@
|
|||||||
/* select the snumbers and the number of parts suppled and the average qty of parts supplied for those suppliers who have a qty greater than the average qty of all suppliers. */
|
|
||||||
select avg(qty)
|
|
||||||
from spj
|
|
||||||
group by snumber;
|
|
||||||
|
|
||||||
#/ average of parts supplied */
|
|
||||||
select avg(qty)
|
|
||||||
from spj;
|
|
||||||
|
|
||||||
/* select the snumbers and the number of parts suppled and the average qty of parts supplied for those suppliers who have a qty greater than the average qty of all suppliers. */
|
|
||||||
select snumber, avg(qty)
|
|
||||||
from spj
|
|
||||||
group by snumber
|
|
||||||
having avg(qty) > (
|
|
||||||
|
|
||||||
(select avg(qty) from spj));
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* select number and the avg qty for suppliers whos range is greater tham the sum of all qty */
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
172
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue