9951 explained code solutions for 126 technologies


postgresHow to filter column based on multiple values


SELECT first_name FROM person IN ('Joey', 'Austin', 'Richard');ctrl + c
SELECT first_name FROM person

select the column first_name from the person table

IN ('Joey', 'Austin', 'Richard')

return rows explicitly matching their first_name value with Joey, Austin or Richard