Skip to main content

select_distinct

Function select_distinct 

Source
pub fn select_distinct(columns: &[&str]) -> SelectBuilder
Expand description

Create a SELECT DISTINCT builder.

ยงExamples

use sqlglot_rust::builder::select_distinct;

let query = select_distinct(&["category"]).from("products").build();