How that a row exists with specific values in MySQL -


i've got table looking like:

productid  uid  version 

i want know if row specific values exists, don't need data returned.

how this?

try this:

select exists(select * tablename productid=210) 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -