Relative Content

Tag Archive for sqloracleoracle11g

Filtering duplicate values, searching for pairs

We have a plugin, which imports an XML file from an FTP server into the database. This XML is further processed, and data is inserted into the database tables. These rows are added to the “pricing” table (with help of the package w 10k+ rows), where prices can be set. My problem is that duplicate values often come through during the import. The system processes them, but during pairing, only the first match is taken into table.

How do I solve this SQL question problem?

Do the SQL that displays the first 8 characters of employee’s last names and indicates their salary with #. Each # represents two thousand dollars. Sort the salary in ascending order