# SQL like operations on a table

**URL:** <https://forum.knime.com/t/sql-like-operations-on-a-table/11365>\
**Category:** KNIME Analytics Platform\
**Created:** [June 22, 2018, 5:57pm UTC](https://forum.knime.com/t/sql-like-operations-on-a-table/11365 "2018-06-22T17:57:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [June 22, 2018, 6:26pm UTC](https://forum.knime.com/t/sql-like-operations-on-a-table/11365/3 "2018-06-22T18:26:11Z")

</div>

You could have a Look at this Post

> [@Remove rows with duplicate values](https://forum.knime.com/t/remove-rows-with-duplicate-values/11105/2):
>
> I set up a workflow to demonstrate how this could be done use group by to calculate how many duplicates there are (note: KNIME should introduce a generic COUNT(\*) function - I had to use a variable) if the count is larger then 1 it is a duplicate left join it back to the original data sort the data by ID and other variables if you want to keep one of the duplicates use the LAG column to identify which line is a 2nd, 3rd occurrence of a duplicate make a rule to keep just a single line of each …

If you want to use SQL you might have a look at SQLite.

---

_[View the full topic](https://forum.knime.com/t/sql-like-operations-on-a-table/11365)._
