Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. SELECT kebulu_tipai.name,ROUND(AVG(automobiliai.verte),0) as verte
  2. FROM `automobiliai`,`kebulu_tipai`
  3. WHERE YEAR(automobiliai.registravimo_data)=2014
  4. AND kebulu_tipai.id = automobiliai.kebulas
  5. GROUP BY automobiliai.kebulas ORDER BY erte DESC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement