Sure. What are the different types? How do I know what mine is? How do they differ?
Thanks.
Worse are people that don't confirm if my suggestion helped or not haha!![]()
Try this without the grouping or ordering bits? can add those later.
Code:SELECT a.id, a.task, a.measure FROM TableA AS a INNER JOIN TableB AS b ON b.taskid = a.id WHERE a.task LIKE '%Search%' OR a.measure LIKE '%Search%' OR b.subtask LIKE '%Search%'
SELECT customer_id, sale_date FROM mySales GROUP BY customer_id; //This is bad. You could get any sale_date.
SELECT customer_id, sale_date FROM mySales GROUP BY customer_id, sale_date; //This is fine.
SELECT customer_id, MAX(sale_date) FROM mySales GROUP BY customer_id; //This is also fine.
Try this without the grouping or ordering bits? can add those later.
Code:SELECT a.id, a.task, a.measure FROM TableA AS a INNER JOIN TableB AS b ON b.taskid = a.id WHERE a.task LIKE '%Search%' OR a.measure LIKE '%Search%' OR b.subtask LIKE '%Search%'