Here is my doubt. The system (PHP) has 6 identical tables (MySQL) that are the participations of users in certain events. Each entry in the table is unique but the data can be repeated in the tables. What I am not able to do is to search in those 6 tables which users participated in all the events.
+-------------------+---------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+---------------------------------------------------------------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| idPiloto | int(11) | NO | | NULL | |
| pontosGanhos | int(11) | NO | | NULL | |
| pontosDeduzidos | int(11) | NO | | NULL | |
| carteiraGanhos | int(11) | NO | | NULL | |
| carteiraDeduzidos | int(11) | NO | | NULL | |
| dnf | int(11) | NO | | NULL | |
| dq | int(11) | NO | | NULL | |
| dqRe^ | int(11) | NO | | NULL | |
| bateriaGrid | int(11) | NO | | NULL | |
| posicao | int(11) | NO | | NULL | |
| posicaoRe^ | int(11) | NO | | NULL | |
+-------------------+---------+------+-----+---------+----------------+