In this chapter, we covered how to exchange data between tables and files using the LOAD, INSERT, IMPORT, and EXPORT keywords. Then, we introduced the different data ordering and sorting options. We also covered some commonly used tips on using functions. Finally, we provided an overview of row-level transactions, DELETE, UPDATE, MERGE, and locks. After going through this chapter, we should be able to import or export data with HQL. We should be experienced in using different types of data sorting keywords, functions, and transaction statements.
In the next chapter, we'll look at the different ways of carrying out data aggregations and sampling in HQL.