sql
stringlengths
6
1.05M
<reponame>dram/metasfresh -- 2017-07-28T11:47:33.494 -- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator UPDATE AD_Tab SET AD_Column_ID=557035, AD_Table_ID=540833, IsReadOnly='N', Parent_Column_ID=2893, WhereClause='AD_AttachmentEntry.AD_Table_ID=291',Updated=TO_TIMESTAMP('2017-07-28 11:47:33','YYYY-MM-DD...
CREATE TABLE test ( id int ); insert into test (id) values (1); select * from test; drop table test;
/* * Create the database for the JavaEERecipes application prior to deploying. * * This script should be used to create a new Oracle database schema for the * bookstore application. * * Database Name: acme (may refer to it as acmedb within JNDI connections) * Database User: acme * * Once the database has been...
truncate table `fundcompany`; insert into `fundcompany` (`CompanyId`, `CompanyName`, `Website`, `Telephone`) values('1','宝盈基金管理有限公司','http://www.byfunds.com/','0755-83276688|400-8888-300\r'); insert into `fundcompany` (`CompanyId`, `CompanyName`, `Website`, `Telephone`) values('2','博时基金管理有限公司','http://www.bosera.com/'...
<reponame>Coy0tes/k12<filename>k12servo/src/main/resources/db/migration/v2_init_data.sql INSERT INTO `school` (`id`, `name`, `desc`) VALUES (1, '博顿幼儿园', ''); INSERT INTO `grade` (`id`, `name`, `desc`, `school_id`) VALUES (1, '大班', '', 1), (2, '中班', '', 1), (3, '小班', '', 1); INSERT INTO `course` (`id`, `name`, `desc...
update ACT_GE_PROPERTY set VALUE_ = '6.7.2.0' where NAME_ = 'common.schema.version'; update ACT_GE_PROPERTY set VALUE_ = '6.7.2.0' where NAME_ = 'entitylink.schema.version'; update ACT_GE_PROPERTY set VALUE_ = '6.7.2.0' where NAME_ = 'identitylink.schema.version'; update ACT_GE_PROPERTY set VALUE_ = '6.7.2.0' where ...
<gh_stars>100-1000 ALTER TABLE teams DROP CONSTRAINT IF EXISTS teams_projects_check; ALTER TABLE teams ALTER COLUMN projects SET DEFAULT '{}';
<filename>src/main/resources/schema.sql create table tb_test ( id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id', message text COMMENT 'SQLXML', PRIMARY KEY (`id`) );
<filename>CalypsoDatabase/dbo/Tables/Track.sql CREATE TABLE [dbo].[Track] ( [TrackId] INT IDENTITY (1, 1) NOT NULL, [Path] NVARCHAR (400) NOT NULL, [WebPath] NVARCHAR (500) NULL, [FileName] NVARCHAR (500) NOT NULL, [FileSize] ...
USE employee_tracker_db; INSERT INTO department (department_name) VALUES ("Drafting"); INSERT INTO department (department_name) VALUES ("Administration"); INSERT INTO department (department_name) VALUES ("Sales"); INSERT INTO department (department_name) VALUES ("R&D"); INSERT INTO department (department_name) VALUES ...
-- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Nov 01, 2017 at 10:49 AM -- Server version: 10.1.26-MariaDB -- PHP Version: 7.0.22 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OL...
CREATE DATABASE up_img_db; USE up_img_db; CREATE TABLE imagenes ( id serial NOT NULL, img text NOT NULL, PRIMARY KEY (id) );
<gh_stars>0 DELIMITER // CREATE PROCEDURE listFormulations() BEGIN SELECT `formulations`.`id` AS `id`, `formulations`.`formulaId` AS `formulaId`, `formulas`.`name` AS `name`, `formulations`.`feasible` AS `feasible`, `formulations`.`cost` AS `cost`, `formulations`.`currencyCode` AS `currencyCode`, `formulations`.`time...
<reponame>rdeveloper1925/jpa-sys -- phpMyAdmin SQL Dump -- version 5.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jul 04, 2020 at 03:00 PM -- Server version: 10.4.11-MariaDB -- PHP Version: 7.4.2 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zon...
<reponame>geckogrpautomation/burger.github.io INSERT INTO burger_dd.subburger (id, burger) VALUES ('1', 'Royale With Cheese'); INSERT INTO burger_db.devburger (id, burger) VALUES ('1', 'Double Cheese Burger'); INSERT INTO burger_db.burgusers ( first_name, last_name, email , password , mobile ) VALUES ('test' , 'user'...
select * from produto order by codproduto update produto set preco = 20.0 where codproduto = 1; update produto set preco = 25.0 where codproduto = 2; update produto set preco = 35.0 where codproduto = 3; update produto set preco = 40.0 where codproduto = 4; update produto set preco = 20.0 where codproduto = 5; update ...
alter table "public"."report" add column "date" date not null default now();
USE burger_db; INSERT INTO burgers(burger_name) VALUES ('Cheeseburger'), ('Pizza burger'), ('Turkey burger'), ('Beyond meat burger'), ('Hamburger'), ('Texas roundhouse burger');
-- -- PostgreSQL database dump -- -- Dumped from database version 9.3.4 -- Dumped by pg_dump version 9.3.4 -- Started on 2015-04-24 22:46:16 SET statement_timeout = 0; SET lock_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SET check_function_bodies = false; SET client_min_messages =...
INSERT INTO tweb_apbd(`rangkuman`,`berkas_id`,`lembaga_id`, `lembaga_kode`,`pemda_kode`, `wilayah_kode`,`tahun`, `rekening_kode`,`rekening`, `uraian`, `nominal`,`nominal_sebelum`, `nominal_sesudah`, `nominal_perubahan`, `nominal_persen`, `keterangan`, `created_by`, `updated_by`) VALUES ('0','248','120','1.13.01','1.13...
<gh_stars>1-10 CREATE TABLE "CARS"."MAINTENANCE" ( "ID_MAINTENANCE" NUMBER NOT NULL ENABLE, "ID_CAR" NUMBER, "DATE_COL" DATE, "MILEAGE" NUMBER, "REFERENCE" VARCHAR2(255), "TOTAL" NUMBER, "INTERVAL_COL" NUMBER, "ID_CLASSIFICATION" NUMBER, "PRICE_PER_KM" NUMBER, CONSTRAINT "MAINTENANCE_PK" PRIMARY ...
<filename>public/myphp-backup-files/myphp-backup-sanpedro-20210705_041641.sql CREATE DATABASE IF NOT EXISTS `sanpedro`; USE `sanpedro`; SET foreign_key_checks = 0; DROP TABLE IF EXISTS `sp_acciones_decesivas`; CREATE TABLE `sp_acciones_decesivas` ( `id_acciones_decesivas` int(11) NOT NULL AUTO_INCREMENT, `subje...
<reponame>aang09/kas<filename>databases.sql<gh_stars>1-10 -- phpMyAdmin SQL Dump -- version 4.3.11 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: 06 Mar 2016 pada 18.52 -- Versi Server: 5.6.24 -- PHP Version: 5.5.24 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SE...
-- ..docs/snippets/script/tags_single-line.sql /*-I am a tag-*/ select * from sample_table; /*-I am a tag that isn't positioned correctly-*/ select * from sample_table; -- snowmobile-include
CREATE TABLE LogFile_INDX_I30( Id INT(11) NOT NULL AUTO_INCREMENT ,lf_Offset VARCHAR(18) NOT NULL ,lf_LSN BIGINT NOT NULL ,lf_EntryNumber INTEGER NOT NULL ,lf_MFTReference BIGINT NOT NULL ,lf_MFTReferenceSeqNo INT(5) NOT NULL ,lf_IndexFlags INTEGER NOT NULL ,lf_MFTParentRefere...
<reponame>Egoily/iLawyer<filename>Scripts/Sqlite_Courts.sql PRAGMA foreign_keys = OFF; -- ---------------------------- -- Table structure for Courts -- ---------------------------- DROP TABLE IF EXISTS "Courts"; CREATE TABLE Courts (Id integer primary key autoincrement, Name TEXT, Rank TEXT, Province TEXT, City TEXT...
INSERT INTO `db_patches` VALUES ('POCOR-2232', NOW()); UPDATE `field_options` SET `plugin` = 'Institution' WHERE `field_options`.`code` = 'StaffPositionGrades'; UPDATE `field_options` SET `plugin` = 'Institution' WHERE `field_options`.`code` = 'StaffPositionTitles'; UPDATE `field_options` SET `plugin` = 'FieldOption'...
<reponame>KK6AZA/reportlatency BEGIN; \i drop-postgresql.sql \i postgresql.sql \i views-postgresql.sql \i import-postgresql.sql \i indices-postgresql.sql END;
<gh_stars>1-10 -- Copyright 2020 Google LLC -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law o...
-- phpMyAdmin SQL Dump -- version 4.6.5.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Mar 29, 2017 at 03:24 AM -- Server version: 10.1.21-MariaDB -- PHP Version: 7.1.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET...
delete from spawnlist where npc_templateid in (select id from npc where name in ('Pathfinder Worker', 'Bathis', 'Lucas', 'Gosta', 'Mouen', 'Vishotsky', 'Mathias')); delete from npcskills where npcid in (select id from npc where name in ('Pathfinder Worker', 'Bathis', 'Lucas', 'Gosta', 'Mouen', 'Vishotsky', 'Mathias'));...
-- phpMyAdmin SQL Dump -- version 4.7.7 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Jul 20, 2018 at 11:56 PM -- Server version: 10.1.31-MariaDB-cll-lve -- PHP Version: 5.6.30 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!...
-- -------------------------------------------------------- -- Host: 127.0.0.1 -- Versi server: 5.7.24 - MySQL Community Server (GPL) -- OS Server: Win64 -- HeidiSQL Versi: 10.2.0.5599 -- -------------------------------------------------------- /...
/* SQLyog 企业版 - MySQL GUI v8.14 MySQL - 5.5.12 : Database - hibernate_search ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@F...
CREATE TABLE [dbo].[TqAwardingOrganisation] ( [Id] INT IDENTITY(1,1) NOT NULL, [TlAwardingOrganisatonId] INT NOT NULL, [TlPathwayId] INT NOT NULL, [ReviewStatus] INT NOT NULL DEFAULT 1, -- 1 Awaiting Confirmation, 2 - Confirmed, 3 - Queried [IsActive] BIT NOT NULL DEFAULT(1), [CreatedOn] DATETIME2 NOT NUL...
-- phpMyAdmin SQL Dump -- version 5.0.3 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jan 13, 2021 at 08:00 AM -- Server version: 10.4.14-MariaDB -- PHP Version: 7.4.11 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIE...
INSERT INTO KRIM_GRP_T (GRP_ID, GRP_NM, NMSPC_CD, GRP_DESC, KIM_TYP_ID, ACTV_IND, LAST_UPDT_DT, OBJ_ID) VALUES (KRIM_GRP_ID_BS_S.NEXTVAL, 'QuestionnaireAdmin', 'KC-WKFLW', 'Questionnaire Blanket Approver', 1, 'Y', SYSDATE, SYS_GUID()); COMMIT;
create table convenios ( partner_id int auto_increment primary key, partner_name varchar(255) not null, status tinyint not null, description varchar(255) not null ); create table configuracion ( configuracion_id int auto_increment primary key, partner_id int ...
create table #dblib0004 (i int not null, s char(10) not null) go insert into #dblib0004 values (1, 'row 0001') go insert into #dblib0004 values (2, 'row 0002') go insert into #dblib0004 values (3, 'row 0003') go insert into #dblib0004 values (4, 'row 0004') go insert into #dblib0004 values (5, 'row 0005') go insert int...
/****** Object: Table [dbo].[BlitzFirst_FileStats] ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[BlitzFirst_FileStats]( [ID] [int] IDENTITY(1,1) NOT NULL, [ServerName] [nvarchar](128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [CheckDate] [datetimeoffset](7) NULL, [DatabaseI...
-- these tables are for archiving the audit logging tables when they get too large -- they are typically created in a separate database from the production database -- NOTE: these tables are currently part of the model and complete scripts. if they -- are going to be created in a separate database just for audit a...
/*L Copyright SAIC Distributed under the OSI-approved BSD 3-Clause License. See http://ncip.github.com/cabio/LICENSE.txt for details. L*/ DROP TABLE PUBLICATION CASCADE CONSTRAINTS PURGE / -- -- PUBLICATION (Table) -- CREATE TABLE PUBLICATION ( PUBLICATION_ID NUMBER NULL, JOURNAL VARCHAR2(100 BYTE) NULL, ...
-- MODULE XTS728 -- SQL Test Suite, V6.0, Interactive SQL, xts728.sql -- 59-byte ID -- TEd Version # -- AUTHORIZATION CTS1 SELECT USER FROM HU.ECCO; -- RERUN if USER value does not match preceding AUTHORIZATION comment ROLLBACK WORK; -- date_time print -- TEST:7028 Flagging, Full SQL, <null p...
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Jun 29, 2017 at 08:56 PM -- Server version: 10.1.16-MariaDB -- PHP Version: 7.0.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARA...
<filename>sql/kategori.sql<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 29, 2017 at 07:47 AM -- Server version: 10.1.28-MariaDB -- PHP Version: 7.1.11 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET ti...
-- -- PostgreSQL database dump -- -- Dumped from database version 9.6.1 -- Dumped by pg_dump version 9.6.1 SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SET check_function_bodies = false; SET client_min...
-- -------------------------------------------------------- -- Host: 127.0.0.1 -- Versi server: 10.4.20-MariaDB - mariadb.org binary distribution -- OS Server: Win64 -- HeidiSQL Versi: 11.2.0.6213 -- -----------------------------------------------...
-- Tokens issues to accounts -- accountId the token was issued to -- the token that was issued CREATE TABLE IF NOT EXISTS accountToken ( accountTokenId BIGINT NOT NULL AUTO_INCREMENT UNIQUE , accountId BIGINT NOT NULL , token VARCHAR(1024) NOT NUL...
<filename>quizee.sql -- phpMyAdmin SQL Dump -- version 4.8.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1:3308 -- Generation Time: Sep 09, 2019 at 08:07 AM -- Server version: 10.1.37-MariaDB -- PHP Version: 7.3.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+0...
@install_app_log.sql
INSERT INTO hwiutl5aivbm2dss.unit_tests (id, activity_id, test_file_id, date_created, last_updated) VALUES (1, 2, 4, '2020-07-06 04:09:45', '2020-07-06 04:09:45'); INSERT INTO hwiutl5aivbm2dss.unit_tests (id, activity_id, test_file_id, date_created, last_updated) VALUES (2, 3, 5, '2020-07-06 04:09:48', '2020-07-06 04:0...
-- Deploy seattleflu/schema:roles/identifier-minter/create to pg begin; create role "identifier-minter"; comment on role "identifier-minter" is 'For minting identifiers and making barcode labels'; commit;
SELECT Name, ISNULL(TRY_CAST(Size AS Integer),0) AS NumericSize FROM SalesLT.Product; SELECT ProductNumber, ISNULL(Color, '') + ', ' + ISNULL(Size, '') AS ProductDetails FROM SalesLT.Product; SELECT Name, NULLIF(Color, 'Multi') AS SingleColor FROM SalesLT.Product; SELECT Name, COALESCE(DiscontinuedDate, Sel...
-- e_fkey.test -- -- execsql { -- DELETE FROM p1 WHERE a = 4; -- SELECT d, c FROM c1; -- } DELETE FROM p1 WHERE a = 4; SELECT d, c FROM c1;
-- sec = (Samsung Electronics Corporation) -- \data\com.sec.android.provider.logsproviders\logs.db Select logs._id as 'id', logs.geocoded_location||' ('||logs.countryiso||')' as 'Location', logs.name, logs.number, case logs.numbertype when 1 then 'Home' when 2 then 'Mobile' when 3 then 'Work' ...
<reponame>Shuttl-Tech/antlr_psql<filename>src/test/resources/sql/create_function/27e255a3.sql -- file:plpgsql.sql ln:4002 expect:true create function scope_test() returns int as $$ declare x int := 42
-- Script: Get-ServerPriv.sql -- Description: list all server principals with their permissions on server level. -- This Transact-SQL script list all server principals with their permissions on -- server level to give a quick overview of security. For given permissions on -- server object like endpoints or impersonat...
SELECT v.customer_id, COUNT(v.visit_id) as count_no_trans FROM Visits as v WHERE visit_id not in (SELECT visit_id FROM Transactions) GROUP BY 1
<filename>table_creation/parking history.sql USE [book parking slot] GO /****** Object: Table [dbo].[parking history] Script Date: 5/31/2019 11:42:14 PM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[parking history]( [history id] [int] NOT NULL primary key identity(1,1), [vehicle...
-- Adminer 4.7.3 MySQL dump SET NAMES utf8; SET time_zone = '+00:00'; SET foreign_key_checks = 0; SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; DROP TABLE IF EXISTS `models`; CREATE TABLE `models` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `name` varchar(64) NOT NULL, `description` text NOT...
SELECT __PP__.ID, __PP__.NAME FROM `ProjectPermission` __PP__ CROSS JOIN ( SELECT CAST(? AS INT) AS PROJECT_ID , CAST(? AS INT) AS ACCESSIBLE_TO_USER_ID ) __INPUT__ LEFT JOIN `ProjectUserProjectPermission` __PUSP__ ON ( __PUSP__.PROJECT_ID = __INPUT__.PROJECT_ID AND __PUSP__.USER_ID = __INPUT_...
ALTER SESSION SET "_ORACLE_SCRIPT"=true; DROP USER oauth CASCADE; DROP tablespace data_ts INCLUDING CONTENTS AND DATAFILES; DROP tablespace temp_ts INCLUDING CONTENTS AND DATAFILES; CREATE TABLESPACE data_ts DATAFILE 'data_ts.dat' SIZE 40M ONLINE; CREATE TEMPORARY TABLESPACE temp_ts TEMPFILE 'temp_ts.dbf' SIZE 5M AUTO...
--USE ReportService SELECT DISTINCT c.[Name] AS [Category Name] FROM Categories AS c JOIN Reports AS r ON r.CategoryId = c.Id JOIN Users AS u ON u.Id = r.UserId WHERE DATEPART(DAY, u.BirthDate) = DATEPART(DAY, r.OpenDate) ORDER BY [Category Name]
create table nls_lang ( short char(2) primary key, name text not null unique, alternative char(2) default 'en', nplurals integer not null default 2, plural_forms text not null default '$n != 1', is_active boolean not null default false ); create table nl...
<gh_stars>0 /** SQL used to generate the counts of gene summaries for all genes in Chado. e.g. psql -f gene_summary_stats.sql -h chado.flybase.org -U flybase flybase > gene_summary_chado_stats.tsv This file is then consumed by merge_chado_alliance_gene_summary_counts.py to produce the final file. */ copy ( s...
<reponame>roskakori/tratihubis<gh_stars>1-10 -- All Trac ticket comments to convert. copy (select ticket, time / 1000000 as PosixTime, author, newvalue from ticket_change where field = 'comment' and newvalue <> '' order by ticket, time) to '/tmp/comments.csv' with CSV
-- phpMyAdmin SQL Dump -- version 4.8.4 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Mar 12, 2020 at 09:40 AM -- Server version: 10.1.37-MariaDB -- PHP Version: 5.6.39 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OL...
<reponame>Wilfongjt/lyb-api<filename>pg_db/sql-v021-hobby/20.base.19.query.test.sql<gh_stars>0 \c pg_db; SET search_path TO api_0_0_1, base_0_0_1, public; /* __ _ _ _ ___ _ __ _ _ / _` | | | |/ _ \ '__| | | | | (_| | |_| | __/ | | |_| | \__, |\__,_|\___|_| \__, | | | __/ | |_| ...
-- This query should be run from the postgres localhost (e.g. pgAdmin): INSERT INTO package_version (id, metadata) VALUES('2','{ "plugin_name":"QMSTR", "plugin_version":"0.0.1", "input":{ "product":"org.cyclonedx:cyclonedx-maven-plugin", "version":"2.3.1-SNAPSHOT" }, "created_at":"2021-03-24...
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1:3306 -- Tempo de geração: 28-Abr-2021 às 14:35 -- Versão do servidor: 8.0.21 -- versão do PHP: 7.3.21 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIEN...
<reponame>charlesroper/Recorder-6-SQL<gh_stars>0 USE NBNData GO SELECT L.FILE_CODE, LN.ITEM_NAME FROM LOCATION AS L INNER JOIN LOCATION_NAME AS LN ON L.LOCATION_KEY = LN.LOCATION_KEY WHERE L.FILE_CODE LIKE 'HWM%' ORDER BY L.FILE_CODE
# ************************************************************ # 测试表 # ************************************************************ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_C...
-- Question 1 SELECT ucs.codigo, ucs.designacao, ucs.curso, ocorrencias.ano_letivo, ocorrencias.inscritos, tipo.tipo, tipo.turnos FROM xocorrencias ocorrencias JOIN xtiposaula tipo ON tipo.codigo = ocorrencias.codigo AND tipo.ano_letivo = ocorrencias.ano_letivo AND tipo.peri...
Database Name: student_registration_system CREATE TABLE `students` ( `id` int(11) NOT NULL AUTO_INCREMENT, `first_name` varchar(255) NOT NULL, `surname` varchar(255) NOT NULL, `username` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `gender` varchar(255) NOT NULL, `image` varchar(255) NOT NULL, `phone...
-- phpMyAdmin SQL Dump -- version 2.10.2 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Dec 13, 2007 at 01:07 AM -- Server version: 5.0.45 -- PHP Version: 5.2.3 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- Database: `Vendors` -- -- -------------------------------------------------------- -...
<filename>doc/utility/mbti_stats.sql -- reviewed --Provider Speciality = Neurosurgery -- 188 SELECT note_stable_identifier.id, note.*, note_type.concept_name AS note_type, pii_name.first_name, pii_name.last_name, note_stable_identifier.stable_identifier_path, note_stable_identifier.stable_identifier_value FROM "note_s...
CREATE TABLE IF NOT EXISTS main_host ( hostid BIGSERIAL NOT NULL PRIMARY KEY, hostuuid VARCHAR(256) NOT NULL, idtype INT NOT NULL CHECK (idtype>=0), ip VARCHAR(39) DEFAULT NULL, mac VARCHAR(12) DEFAULT NULL, name varchar(256) DEFAULT NULL, hostname varchar(100) DEFAULT NULL, manufacturerid INT DEF...
<filename>SQL-Server-Analysis-Services/SSAS-Data-Model-Info/Все измерения куба.sql -- Все измерения куба SELECT [CATALOG_NAME] as [DATABASE], CUBE_NAME AS [CUBE],DIMENSION_CAPTION AS [DIMENSION] FROM $system.MDSchema_Dimensions WHERE CUBE_NAME = '<Имя куба>' -- Измените отбор здесь AND DIMENSION_CAPTION <> 'Measures...
<reponame>happyyangyuan/diboot ALTER TABLE dictionary ADD COLUMN tenant_id bigint NOT NULL DEFAULT 0 COMMENT '租户ID' AFTER id; CREATE INDEX idx_directory_tenant on dictionary(tenant_id);
insert into envio(id, nombre,clave,premium) values(1,'testing','1234',true);
<filename>nimrodg-impl-sqlite3/src/main/resources/au/edu/uq/rcc/nimrodg/impl/sqlite3/db/upgrade/3.0.0_to_4.0.0.sql .bail on BEGIN TRANSACTION; -- -- Check our schema is the correct version. -- UPDATE nimrod_schema_version SET major = 3, minor = 0, patch = 0; -- -- Remove the path field -- CREATE TABLE nimrod_job_att...
<reponame>andreicristianpetcu/batchers -- Autogenerated: do not edit this file TRUNCATE TABLE BATCH_STEP_EXECUTION_CONTEXT; TRUNCATE TABLE BATCH_JOB_EXECUTION_CONTEXT; TRUNCATE TABLE BATCH_STEP_EXECUTION; TRUNCATE TABLE BATCH_JOB_EXECUTION_PARAMS; TRUNCATE TABLE BATCH_JOB_EXECUTION; TRUNCATE TABLE BATCH_JOB_INST...
<reponame>cleston-sousa/febraban-gen<filename>src/main/resources/db/migration/V00001__create-table-estado.sql create table `estado` ( `id` tinyint not null, `codigo` varchar(2) not null, `nome` varchar(100) not null );--engine=innodb default charset=utf8 alter table `estado` add constraint `pk_estado` pri...
-- formerly rollup_matrix_numeric_60m -- -- PostgreSQL database dump -- SET client_encoding = 'UTF8'; SET standard_conforming_strings = off; SET check_function_bodies = false; SET client_min_messages = warning; SET escape_string_warning = off; SET search_path = noit, pg_catalog; SET default_tablespace = ''; SET de...
/* Navicat MySQL Data Transfer Source Server : wamp3.1 Source Server Version : 50719 Source Host : localhost:3306 Source Database : ch_chat Target Server Type : MYSQL Target Server Version : 50719 File Encoding : 65001 Date: 2018-02-02 02:42:47 */ SET FOREIGN_KEY_CHECKS=0; -- ---...
<gh_stars>0 GRANT SELECT, INSERT, UPDATE ON `eslr` TO '{env}-eslr-rol' IDENTIFIED BY '{password}'; GRANT SELECT ON `eslr` TO '{env}-agg-api' IDENTIFIED BY '{password}';
# Remove unique constraint lists(name), add unique name per user_uuid # --- !Ups ALTER TABLE lists DROP CONSTRAINT lists_name_key; ALTER TABLE lists ADD CONSTRAINT lists_unique_name_per_user UNIQUE (name, user_uuid); # --- !Downs ALTER TABLE lists DROP CONSTRAINT lists_unique_name_per_user; ALTER TABLE lists ADD CONS...
<gh_stars>1-10 SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for user -- ---------------------------- DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `nick_name` varchar(2...
INSERT INTO `Configs`.`Global` (`name`, `value`) VALUES ('timeoutMS', '100'); INSERT INTO `Configs`.`Global` (`name`, `value`) VALUES ('serviceA', 'http://global:880'); INSERT INTO `Configs`.`Global` (`name`, `value`) VALUES ('serviceB', 'http://global:432'); INSERT INTO `Configs`.`Global` (`name`, `value`) VALUES ('nu...
<gh_stars>1-10 --测试可选部分 --关键字错误 CREATE int STREAM S (id INT,name STRING) SERDE 'com.huawei.streaming.sql.SerDe.CSVSerDe' SOURCE 'com.huawei.streaming.spout.csvReader' PROPERTIES ("path" = "/local"); --数据类型错误 CREATE INPUT STREAM S (id INT,name STRNIG) SERDE 'com.huawei.streaming.sql.SerDe.CSVSerDe' properties ("ip" =...
select title, akas, region, account_id from aws.aws_elasticache_cluster where cache_cluster_id = '{{ output.resource_id.value }}-dummy';
<reponame>elenajs/elenajs-cassandra<filename>cassandra-demo/scripts/demo.cql drop keyspace cassdemo; CREATE KEYSPACE cassdemo WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; create table cassdemo.sample3 ( id int, insertion_time timeuuid, data text, PRIMARY KEY(id, insertion_time)) ...
INSERT INTO sys_version SET id=7;
insert into facultate (nume_facultate, id_universitate) values ('Sales', 1); insert into facultate (nume_facultate, id_universitate) values ('Human Resources', 2); insert into facultate (nume_facultate, id_universitate) values ('Business Development', 3); insert into facultate (nume_facultate, id_universitate) values (...
-- phpMyAdmin SQL Dump -- version 4.8.4 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Jan 13, 2020 at 08:49 AM -- Server version: 10.1.37-MariaDB -- PHP Version: 7.3.0 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD...
<filename>Oracle/tabelas_teste/APPLY__SERVER_STATS_DATA_TABLE.sql REM INSERTING into SYS.APPLY$_SERVER_STATS SET DEFINE OFF;
-- ---------------------------- -- Table structure for heros_temp -- ---------------------------- DROP TABLE IF EXISTS `heros_temp`; CREATE TABLE `heros_temp` ( `id` int(11) NOT NULL, `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB CHARACT...
<gh_stars>1-10 SELECT COUNT(*) FROM temp_tree SELECT COUNT(*) FROM `".$this->table."` WHERE `".$this->fields["id"]."` = s.`".$this->fields["parent_id"]."`) = 0 "); SELECT COUNT(*) FROM `".$this->table."` CREATE TABLE IF NOT EXISTS `tree` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `parent_id` bigint(20) unsigne...
<filename>src/main/resources/db/migration/veilarbregistreringDB/V1_38__fk_fra_registreringtilstand_til_brukerregistrering.sql ALTER TABLE REGISTRERING_TILSTAND ADD CONSTRAINT "BRUKER_REGISTRERING_ID_FK" FOREIGN KEY ("BRUKER_REGISTRERING_ID") REFERENCES BRUKER_REGISTRERING ("BRUKER_REGISTRERING_ID");
-- in.test -- -- execsql { -- CREATE TABLE t6(a,b NUMERIC); -- INSERT INTO t6 VALUES(1,2); -- INSERT INTO t6 VALUES(2,3); -- SELECT * FROM t6 WHERE b IN (2); -- } CREATE TABLE t6(a,b NUMERIC); INSERT INTO t6 VALUES(1,2); INSERT INTO t6 VALUES(2,3); SELECT * FROM t6 WHERE b IN (2);