Skip to content
Advertisement

Tag: sql

Show a text depending on the value of a column MySQL

I would like to know, how can I build a query that shows me an extra column where instead of showing the true value of the original column it shows me the text that i want? For example, The Column, in this case “inputOutput”, save values ​​0 or 1, and I would like to show in a query that if

Joined table not returning any results

I successfully joined tables in another part of my code so I followed the same pattern but this time it is not returning any result and I don’t understand why. Here are the tables I am trying to …

Advertisement