MySQL compare two columns value at the same row
First of all, you shouldn't call "table" your table as it is a reserved word and can cause some confusion.

Have you read any documentation about querying ? You should start from here Query information

If you want to select all rows where data_a is bigger than data_b you can do it with 

SELECT * FROM table where data_a &gt; data_b