SQL Statement

Sancheck

Legendäres Mitglied
Hallo,
was ist an nachfolgendem SQL Statement falsch:

INSERT into searchresults 'ANZHAUS_GES','01',(select count(*) from adpubsdmdata WHERE ANZHAUS_GES>=1 && ANZHAUS_GES<=1);


Was mach ich falsch ?
smile.gif

PS: Es handelt sich um HIVE daher ist die Fehlermeldung hier nicht sehr sinnvoll.
 
probier mal das:

INSERT into searchresults ('ANZHAUS_GES','01') select count(*) from adpubsdmdata WHERE ANZHAUS_GES>=1 && ANZHAUS_GES<=1;
 
Zurück
Oben