3.j. select gyumolcs, count(distinct nev) HANY_EMBER from szeret group by gyumolcs select gyumolcs, count(distinct nev) HANY_EMBER from szeret group by gyumolcs having count(distinct nev) > 2 3.k. select gyumolcs, count(distinct nev) HANY_EMBER from szeret group by gyumolcs order by HANY_EMBER 6. select 'Béla' Név from DUAL select SYSDATE from DUAL 7.a. create synonym ir_szam for scsi.ir_szam 7.b. select irszam from ir_szam where telepules = 'Balatonalmadi' 7.g. select telepules from ir_szam where upper(telepules) like '%DOMB%' 7.j. select telepules from ir_szam where length(telepules) = ( select max(length(telepules)) from ir_szam ) rossz: select telepules max(length(telepules)) hossz from ir_szam 7.k. select min(irszam) minimum, max(irszam) maximum, round(avg(irszam)) atlag, round(stddev(irszam)) szoras from ir_szam 7.l. select abs(h.atlag1 - o.atlag2) from (select avg(irszam) atlag1 from ir_szam where megye='Heves') h, (select avg(irszam) atlag2 from ir_szam) o 7.m. select telepules, irszam from ir_szam where megye='Pest' order by telepules, irszam desc 7.n. select megye, count(distinct telepules) atlag from ir_szam where megye is not null group by megye order by atlag desc