Jump to content

[SOLVED] Help with a Query


JSHINER

Recommended Posts

That does not return any results. When I did:

 

SELECT * FROM table WHERE id = 2 AND field_2 ORDER BY id

 

It returns only records where field_2 is filled, however ONLY records where field 2 is filled with a number.

 

How can I get it so if field_2 has ANYTHING there it returns it?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.