I have in the table two columns que and ans and 3 lines. I need to find the value I need in the que column, and then on the right in the same line in which we found the value we need to know the value of ans.

  • So what exactly you can not? - u_mulder
  • to find the value of ans, which is on the line with the value of que I need - TheHaines

1 answer 1

You can do it like this:

select ans from Ρ‚Π°Π±Π»ΠΈΡ†Π°_с_2мя_ΠΊΠΎΠ»ΠΎΠ½ΠΊΠ°ΠΌΠΈ where que = Π½ΡƒΠΆΠ½ΠΎΠΌΡƒ_Π·Π½Π°Ρ‡Π΅Π½ΠΈΡŽ 
  • Thank you, do not tell me which team can display the value of ans on a page like here google.com/robots.txt ? Just zero in php. - TheHaines