Laur's blog
Sign in Subscribe

easy

A collection of 1 post
Select Rows Where Value from One Column Matches Other Column
db

Select Rows Where Value from One Column Matches Other Column

TL;DR: Use a JOIN. I've got a table representing a tree, using two columns: CREATE TABLE "EXAMPLE" ( "PROP_ID" VARCHAR2(20 BYTE) NOT NULL ENABLE, "PARENT_PROP_ID" VARCHAR2(20 BYTE) NOT NULL ENABLE, /* * Data ... */ "CLASS_ID" VARCHAR2(20
Nov 23, 2016 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost