database - remove duplicates on access and keep rows contains a spicial word -


my access table name all_down

key    mo_name    alarm         date           source        address   ----------------------------------------------------------------------- a1     ayban      oml fult      26/03/2017     qat\ayban     192.177   a2     ccccc      cell_out      27/03/2017     qat\ayban     192.888   a3     zzzz       out_ser       28/03/2017     qat\ayban     192.999   a4     ffff       manuall       28/03/2017     san\safia     172.999   a5     ffff       out_ser       27/03/2017     san\safia     172.999   a6     dddd       man_tesl      29/03/2017     ibb\lali      172.31 

i want query result without duplicates source column, , keep row contains on alarm column "oml fult" , if source column duplicates rows but
alarm filed not equal "oml fult" remove row. order date column:

key    mo_name    alarm         date           source        address   ----------------------------------------------------------------------- a6     dddd       man_tesl      29/03/2017     ibb\lali      172.31   a4     ffff       manuall       28/03/2017     san\safia     172.999   a5     ffff       out_ser       27/03/2017     san\safia     172.999   a1     ayban      oml fult      26/03/2017     qat\ayban     192.177   


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -