sql - MySQL unknown column -


Why am I getting this error:

1054 - Unknown column 'in the field' t.type 'List'

There is a Type column in my table and I have a nickname. Using the table 'tester' has been found.

  SELECT y *, (SELECT COUNT (*) FROM (SELECT *, case t.type WHEN 'Advanced' THEN T. type ELSE 'non-advanced' group_type from tester as the end) x where x.group_type = y.group_type AND ( X.grade1 + x.grade2)> = (y.grade1 + y.grade2)) from the rank FROM (SELECT t.name, t.gr1, t.gr2, t.type, case t.type WHEN 'Advanced 'Then TSTEEES' Non-advanced 'as the ADS group_type) y  

Om Genoni, any thoughts?

Thank you.

- Lakmidi

/ I repeat my forehead - my mistake, sorry do.

Use this:

  SELECT y. *, (SELECT COUNT (*) FROM (SELECT *, CASE type WHEN 'Advanced' THEN type ELSE 'Non-Advanced' and type of tester by group type) x where x.group_type = y.group_type and ( X.grade1 + x.grade2) & gt; = (y.grade1 + y.grade2)) from rank AS (SELECT t.name, t.gr1, t. grade2, t. type, case ttt P.P.E.N.E.E. 'Advanced' then T.P.E.E.E.E.E.E.E. from the examiner as the 'non-advanced' end Group like T) Y  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -