SELECT count(*) FROM GW, GC WHERE GW.WRNO=GC.WRNO
Table 'ukesmall.GW' doesn't exist