0
I have to make a query (which will be taken to a PHP application) in the table below. I would like to perform the query in such a way that no lines containing prices (that is to say null) are selected in the gnbr columns up to the sprd. I don’t want to delete lines that are blank (because if tomorrow I need to enter prices on them, I would need to type Cod, Prod, Fab, Qtd and carac again.) 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 registration of new things) so I cannot do 'where Cod = xxxx;' for example. Can anyone at least go north? grateful.
Make gnbr is not null and so on
– Marco Souza
In the above case which lines would be shown? put an example or at least speak the Cod of such for example would appear!?
– novic
Also think about reviewing the model , name of unintelligible columns , structure without normalization , a new type of price demands a new column.
– Motta
the lines shown would be: Cod 7100,7210,7211 and 7212. The ignored lines would be: Cod 7101, 7300,71000 and 72000. Column names are abbreviations of local supermarkets. @Virgilionovic
– Eber