Hi,
Im new to the world of mysql and I'm after help with a query I'm trying to simplify.Here is a simplified idea of what part of my database looks like
Table: table1
==============================
| leadid | listid | username |
==============================
| 1 | aa | user001 |
|...