All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wn.sqltemplates.sqlite.views.views.sql Maven / Gradle / Ivy

The newest version!
DROP VIEW IF EXISTS `samplesets`; CREATE VIEW IF NOT EXISTS `samplesets` AS SELECT ${samples.synsetid},GROUP_CONCAT(DISTINCT ${samples.sample}) AS `sampleset` FROM ${samples.table} GROUP BY ${samples.synsetid};
DROP VIEW IF EXISTS `dict`; CREATE VIEW IF NOT EXISTS `dict` AS SELECT * FROM ${words.table} w LEFT JOIN ${senses.table} s USING (${words.wordid}) LEFT JOIN ${casedwords.table} c USING (${words.wordid},${casedwords.casedwordid}) LEFT JOIN ${synsets.table} y USING (${synsets.synsetid}) LEFT JOIN `samplesets` USING (${synsets.synsetid});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy