Postgresql – SQL Conditional column data return (on a tuple basis)
I have created an SQL query that returns me elements from a film table that satisfy one of two conditions. They are either the most profitable (gross - budget) or the least expensive movies to make. However, i wanted to…