I have to make a query (which will be taken to a PHP application) in the table below. I would like to query so that the rows that do not contain prices (that is, they are null) in columns 'gnbr' to 'sprd' are not selected. I do not want to delete the lines that are blank (because if I need to register prices in them, I would need to retype the cod, prod, fab, qtd and carac.) I just want to query so that the result set to be sent to php does not receive these lines. the number of lines is variable (there will always be a new stuff) so I can not do 'WHERE cod = xxxx;' for example. Can someone give a north, at least ?? grateful.