mysql - right outer join calling null on left side (id) when the pair exists -


the following results in left hand (table l) "identifier" null if there pair (ex, there f.url = l.url , both not null) there. identifier should considered auto increment , "url"s unique

is there obvious should doing not?

 select *  `l`   right join f on f.url = l.url  , f.url <> ''  , f.id = l.id  , l.url null   , l.id null   

this because have condition and l.id null.

thus, rows have l.id = null. (or, in own words, "lefthand identifier null".)


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -