What you have to do first is to connect your database(MySql database) with Qlikview using MySql connecter and use ODBC connecter to connect MySql database with your Qlikview.
Connecting QlikView to MySql database:
open QlikView - click on Edit Script and then choose OLE DB on databases then click on connect. After choose Microsoft OLE DB provider for ODBC Drivers and then next. in use data source name, chooese youre mySql database name then click test connection. if it says ted connection succeded then your are good to go. then click Ok
your database will be loaded into QlikView then you can manipulate your data as you wanted.
I hope this help.
If your database is already connected to qlikview you have to select your two tables and join them after in the script
if you are writing them in the script you can use loin table condition like this:
person: (this is the first table name in script)
join(oerson) this means joining the sales table into person