In order to retrieve the desired data the user present a set of criteria by a query. Then the database management system (DBMS),software of managing databases,selects the demanded data from the database. The retrieved data may be stored in a file,printed,or viewed on the screen