sql
stringlengths
6
1.05M
<reponame>chadbaldwin/SQL<filename>dbo.uf_ShowBadCharacters.UserDefinedFunction.sql GO IF OBJECT_ID('dbo.uf_ShowBadCharacters') IS NOT NULL DROP FUNCTION dbo.uf_ShowBadCharacters; GO -- ============================================= -- Description: Replaces "bad" ascii characters with readable identifiers -- Reference :...
drop procedure if exists product_list; delimiter // CREATE procedure product_list(cat varchar(50)) begin if upper(cat) in (select upper(category) from product) then select * from Product where upper(Category)=upper(cat) and units_in_stock>0; else select * from Product where units_in_stock>0; end if; end // de...
-- There were a few duty stations whose addresses were invalid. They had leading zeros truncated. -- Given that the address values were generated randomly, we can't update by address ID. This -- query only will change postal_codes that are both: less that 5 characters long, and are in the -- same city as the affected d...
SELECT ss.tumor_pair_barcode, ss.case_barcode, ss.tumor_barcode_a, ss.tumor_barcode_b, st.idh_codel_subtype, arm_driver_count, snv_driver_count, cnv_driver_count, arm_driver_count_shared, snv_driver_count_shared, cnv_driver_count_shared, arm_driver_count_private_a, snv_driver_...
<gh_stars>1-10 DELETE FROM command WHERE name IN ('lookup player account','lookup player ip','lookup player email'); INSERT INTO `command` VALUES ('lookup player account',2,'Syntax : .lookup player account $account ($limit) \r\n\r\n Searchs players, which account username is $account with optional parametr $limit of re...
<reponame>besom/bbossgroups-3.5 truncate table test1 truncate table test select * from test1 select * from test select * from test for update nowait seq_test select seq_test.nextval from dual
<filename>EdFi.Ods.Utilities.Migration/DatabaseReference/3.1.1/Data/EdFi/1030-OperationalContextsUpdate.sql<gh_stars>0 -- SPDX-License-Identifier: Apache-2.0 -- Licensed to the Ed-Fi Alliance under one or more agreements. -- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. -- See the ...
<reponame>mathbeta/bluesky<filename>DB_Scripts/mysql/db.sql -- user info drop table if exists `user_info`; create table `user_info` ( `id` bigint(22) not null auto_increment, `user_name` varchar(30), `password` varchar(20), primary key (`id`), unique key `pk_user_info` (`id`) ); insert into `user_info` ...
DROP FUNCTION IF EXISTS finance.get_default_currency_code_by_office_id(office_id integer); CREATE FUNCTION finance.get_default_currency_code_by_office_id(office_id integer) RETURNS national character varying(12) AS $$ BEGIN RETURN ( SELECT core.offices.currency_code FROM core.office...
<reponame>croc-code/jxfw -- generated by jXFW CREATE TABLE respondent (depid timeuuid, periodyear int, periodcode int, okpo text, caption text, PRIMARY KEY ((depid, periodyear, periodcode), okpo)) WITH CLUSTERING ORDER BY (okpo ASC);
-- Add down migration script here ALTER TABLE organizations DROP COLUMN organization_image_path; ALTER TABLE organizations DROP COLUMN description;
-- Pattern copied from previous migration script to add more CRRs: V2019.07.09.16.01__insert_mine_report_defintion_related_tabels DROP TABLE IF EXISTS tmp_report_definition_compliance; CREATE TEMPORARY TABLE tmp_report_definition_compliance( tmp_id serial primary key, mrd_id integer, report_name character var...
<reponame>RequestPrivacy/sparrow<gh_stars>100-1000 create table blockTransaction (id identity not null, txid binary(32) not null, hash binary(32) not null, height integer not null, date timestamp, fee bigint, label varchar(255), transaction varbinary(1048576), blockHash binary(32), wallet bigint not null); create table...
<reponame>andersk/pgroonga -- Upgrade SQL ALTER FUNCTION pgroonga_similar_text(text, text) COST 10000; ALTER FUNCTION pgroonga_similar_text_array(text[], text) COST 10000; ALTER FUNCTION pgroonga_similar_varchar(varchar, varchar) COST 10000; CREATE FUNCTION pgroonga_match_positions_byte(target text, keywor...
<gh_stars>1-10 -- Add a column to store paypal destination. alter table sd_payout_requests add column target varchar(512);
SELECT TRIM(invl_table.txt) txt FROM invl_table WHERE invl_table.invl MATCHES "S[0-9][0-9][0-9]" ORDER BY TRIM(invl_table.txt)
<gh_stars>0 create table product ( id bigserial primary key not null, product_name varchar(255) not null, product_type_id smallint references product_type(id), added timestamptz not null default now() ) ; create table product_type ( id smallint primary key not null, product_type_name varchar(255) not null,...
<reponame>dmtr/mail_me_all<gh_stars>0 BEGIN; DROP TABLE IF EXISTS subscription_state_tweet_m2m; DROP TABLE IF EXISTS tweet; DROP TABLE IF EXISTS subscription_state; DROP TABLE IF EXISTS subscription_user_state; DROP TYPE IF EXISTS subscription_status; COMMIT;
DROP DATABASE dbtify; CREATE DATABASE IF NOT EXISTS dbtify; USE dbtify; CREATE TABLE IF NOT EXISTS listeners( username VARCHAR(64), email VARCHAR(64), PRIMARY KEY(username) ); CREATE TABLE IF NOT EXISTS artists( name VARCHAR(64), surname VARCHAR(63), username VARCHAR(128), likes_artist INT, ...
<reponame>M0rdhau/ICA_0005<filename>Assignment_5_MiniMoodle/Fill_Students.sql<gh_stars>0 INSERT INTO `Student` (`FName`,`LName`,`EMail`,`Code`) VALUES ("Molly","Donovan","<EMAIL>","AAGA1548"), ("Naida","Sheppard","<EMAIL>","VDNS2829"), ("Ariel","Villarreal","<EMAIL>","OQUA5183"), ("Veronica","Raymond","<EMAIL>","XHNV57...
<reponame>paltua/birds CREATE TABLE `gallery` ( `g_id` INT NOT NULL AUTO_INCREMENT , `g_path` VARCHAR(255) NOT NULL , `g_order` INT NOT NULL , `created_by` INT NOT NULL , `am_id` INT NOT NULL DEFAULT '0' , `created_date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP , PRIMARY KEY (`g_id`)) ENGINE = InnoDB; ALTER TABLE ...
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Feb 08, 2022 at 01:32 AM -- Server version: 10.4.13-MariaDB -- PHP Version: 7.4.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIEN...
<filename>DefectTracker.Database/dbo/Tables/Core/ProjectUsers.sql CREATE TABLE [dbo].[ProjectUsers] ( [Id] INT NOT NULL IDENTITY(1,1) ,[Name] NVARCHAR(200) NOT NULL ,[ProjectId] INT NOT NULL ,[DateCreatedOffset] DATETIMEOFFSET NOT NULL CONSTRAINT [PK_ProjectUsers] PRIMARY KEY ([Id]), CONS...
<filename>quiz_file.sql -- MariaDB dump 10.17 Distrib 10.4.8-MariaDB, for debian-linux-gnu (x86_64) -- -- Host: localhost Database: quiz_db -- ------------------------------------------------------ -- Server version 10.4.8-MariaDB-1:10.4.8+maria~bionic-log /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLI...
<reponame>Oreder/databaseFullCourse ------------------------------------------------- ----------- 4. Stored procedure ----------------- ------------------------------------------------- USE Sharp; GO IF OBJECT_ID('dbo.Currency') IS NOT NULL DROP TABLE dbo.Currency; GO CREATE TABLE dbo.Currency ( CurrencyCode NVARCHA...
<filename>scripts/sysdba/create_redologs_on_lion.sql /* */ set serveroutput on size unlimited echo off timing on declare l_thread integer := to_number('&1'); l_first integer := to_number('&2'); l_last integer := to_number('&3'); l_size varchar2(20) := '&4'; begin dbms_output.enable(null); for l in (SELECT ...
<gh_stars>1-10 select * from it20g2016.trafika.Izvestaj where izvestajID=#[message.inboundProperties.'http.uri.params'.ID];
-- cur_month: 当前月的第一天 INSERT INTO `event_ros` PARTITION (`year`, `month`, `day`) SELECT `url`, `cms_type`, `cms_id`, `traffic`, `ip`, `time`, CAST(YEAR(`time`) AS SMALLINT), CAST(MONTH(`time`) AS SMALLINT), CAST(DAY(`time`) AS SMALLINT) FROM `event_wos` ...
/* Deployment script for TimesheetApp This code was generated by a tool. Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. */ GO SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; SET NUMERIC_ROUNDABORT OFF; GO :setv...
<gh_stars>1-10 -- ============================================= -- Author: <<NAME>> -- Create date: <01010001,,> -- Description: <yep,,> -- ============================================= CREATE PROCEDURE [ZFP_SET_ROLE_ACCTS]( @P_ROLE_SEQ_ID AS INT, @P_SE_SEQ_ID AS INT, @P_ACCOUNT AS VARCHAR(128), @P_ADDUPD_BY I...
<filename>src/test/resources/walcrash.test_5.sql<gh_stars>100-1000 -- walcrash.test -- -- execsql { SELECT sum(a)==max(b) FROM t1 } SELECT sum(a)==max(b) FROM t1
<filename>SQL/sql_study_1/page14/exercise3.sql /* dibawah "FROM purchases" gunakan operator NOT untuk menambahkan code untuk mengambil baris dimana nilai kolom "character_name" adalah bukan "Ninja Ken" */ SELECT * FROM purchases WHERE NOT character_name = "Ninja Ken";
<gh_stars>10-100 /****** Object: Table [dbo].[AzureUsageAdditionalInfo] Script Date: 4/5/2017 11:40:24 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[AzureUsageAdditionalInfo]( [Uid] [uniqueidentifier] NOT NULL, [Name] [nvarchar](128) NOT NULL, [Value] [nvarchar](256) NOT NULL, ...
<reponame>sy3kic/nZEDb INSERT IGNORE INTO site (setting, value) VALUE ('nntpretries', '10'); UPDATE site SET value = '145' WHERE setting = 'sqlpatch';
<reponame>srahn/kvwmap BEGIN; ALTER TABLE nachweisverwaltung.n_nachweise ADD COLUMN geprueft integer NOT NULL DEFAULT 0; COMMIT;
<reponame>forgottenlands/ForgottenCore406 -- Fix Dark Intent -- By <NAME> INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES ('85767', '85768', '0', 'Cast Dark Intent On Self');
<gh_stars>0 CREATE TABLE BOOK (ID BIGINT NOT NULL, DESCRIPTION VARCHAR(255), ILLUSTRATIONS SMALLINT DEFAULT 0, ISBN VARCHAR(255), NBOFPAGE INTEGER, PRICE FLOAT, TITLE VARCHAR(255), PRIMARY KEY (ID)) CREATE SEQUENCE SEQ_GEN_SEQUENCE INCREMENT BY 50 START WITH 50
<reponame>NICMx/rdap-sql-provider<filename>src/main/resources/META-INF/sql/Zone.sql #getAll SELECT zone_id, zone_name FROM {schema}.zone;
<gh_stars>1-10 ALTER TABLE dox.package_details ADD RESOURCE_TYPE text;
<filename>SQL First Assignment/9.sql<gh_stars>1-10 SELECT pro_name, pro_price FROM item_mast WHERE pro_price = (SELECT MIN(pro_price) FROM item_mast);
<filename>e2e-tests/demand-backup/compare/show-2.sql scram-sha-256
INSERT INTO department (name) VALUES ('Sales'), -- 1 ('Admin'), -- 2 ('Accounting'), -- 3 ('Art'), -- 4 ('IT'), -- 5 ('Shipping'); -- 6 INSERT INTO role (title,salary,department_id) VALUES ('Sales Manager', 50000, 1), -- 1 ('Sales Rep', 40000, 1), -- 2 ('National Sales Rep', 80000, ...
<filename>public/public/img/9P1knz_laravel.sql<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.0.10deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Dec 19, 2015 at 09:38 PM -- Server version: 5.5.46-0ubuntu0.14.04.2 -- PHP Version: 5.5.9-1ubuntu4.14 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET...
-- -------------------------------------------------------- -- Host: 127.0.0.1 -- Server version: 8.0.21 - MySQL Community Server - GPL -- Server OS: Win64 -- HeidiSQL Version: 11.3.0.6295 -- -------------------------------------------------------- /...
<gh_stars>0 insert into building_location( building_location_id, region_id, building_location_status, cluster_id, epimms_id, building_location_name, area, court_finder_url, postcode, address, updated_time) values( '3', '2', 'OPEN', '9', '123456', 'Building Locat...
<filename>DB/sagar.sql<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Jul 24, 2017 at 02:20 PM -- Server version: 10.1.19-MariaDB -- PHP Version: 5.6.28 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARA...
<filename>src/transactions/supression_emprunt.sql DECLARE id_doc number := 8; id_emprunteur number := 8; nb number; BEGIN SELECT nb_emprunte into nb from DOCUMENTS_MEDIATHEQUE where ID = id_doc; IF nb > 0 THEN update DOCUMENTS_MEDIATHEQUE set nb_total = nb_total + 1 wh...
-- // Create category quiz pivot table -- Migration SQL that makes the change goes here. CREATE TABLE IF NOT EXISTS t_category_quiz_pivot ( `category_id` INT unsigned, `quiz_id` INT unsigned, UNIQUE KEY `category_quiz_unique` (`category_id`, `quiz_id`), FOREIGN KEY `category_quiz_pivot_category_id_forei...
<reponame>apostoldevel/db-platform -------------------------------------------------------------------------------- -- SESSION --------------------------------------------------------------------- -------------------------------------------------------------------------------- -----------------------------------------...
<reponame>resonates7/CodePortfolio --Need to adjust the where clause � select distinct -- borrower and colat owner names aip.invlv_prty_id AS borrower_ip, aip.invlv_prty_nm AS borrower_name, /* FRED - these two columns show up as NULL when I run this report I suspect this is due to the data not being populated in th...
<filename>db/src/data/profile/types/frequency.sql \echo # Creating frequency type for profile create type frequency as enum ( 'rarely', 'often', 'sometimes', 'never', 'socially', 'on special occasions' ); insert into data.uisetup (name, details) values ('frequency', '{"Never":"never","Often":"often","On Specia...
SET DEFINE OFF; CREATE INDEX AFW_25_TRAVL_FK3 ON AFW_25_TRAVL (REF_STAT) LOGGING /
INSERT INTO Directs VALUES ('M0001', 'D0001'); INSERT INTO Directs VALUES ('M0002', 'D0002'); INSERT INTO Directs VALUES ('M0003', 'D0003'); INSERT INTO Directs VALUES ('M0004', 'D0004'); INSERT INTO Directs VALUES ('M0005', 'D0005'); INSERT INTO Directs VALUES ('M0006', 'D0006'); INSERT INTO Directs VALU...
<reponame>mennooo/orcl-multimedia create or replace package utl_http_multipart as /** * @author <NAME> * @email <EMAIL> */ type part is record ( ds_header varchar2(2048), ds_value varchar2(1024), ds_blob blob ); type parts is table of part; procedure add_param( p_parts in ...
create table blog ( id bigint primary key auto_increment, user_id bigint, title varchar(100), description varchar(100), content TEXT, created_at datetime, updated_at datetime )
<reponame>eddyzhang2018/SQL # Problem Statement: https://www.hackerrank.com/challenges/weather-observation-station-6/problem # Difficulty: Easy # Score: 10 - MySQL SELECT DISTINCT CITY FROM STATION WHERE (CITY LIKE 'a%') OR (CITY LIKE 'e%') OR (CITY LIKE 'i%') OR (CITY LIKE 'o%') OR (CITY LIKE 'u%')
<gh_stars>1-10 /* Update world_db_version content */ DELETE FROM `world_db_version`; INSERT INTO `world_db_version` VALUES ('1', '20180331-00_build_creature_properties'), ('2', '20180331-01_world_db_version'), ('3', '20180331-02_build_player_xp_for_level'), ('4', '20180401-00_build_creature_properties'), ('5', '20180...
-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Anamakine: 127.0.0.1 -- Üretim Zamanı: 17 Oca 2020, 08:48:17 -- Sunucu sürümü: 10.4.6-MariaDB -- PHP Sürümü: 7.3.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_...
create schema db_projetofinal; use db_projetofinal; create table tb_usuarios ( id int not null auto_increment, nickname varchar(20) not null unique, password varchar(128) not null, points int default 0, primary key(id) );
-- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jun 12, 2021 at 11:38 AM -- Server version: 10.4.16-MariaDB -- PHP Version: 7.4.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIE...
-- Insert sample data to review table and purchase table --review INSERT INTO audiobook_reviews SET customer_ID = 10, ISBN = "860-1404211171", rating = 2, title = "Not as good as Harry Potter", comment = "Never read the book, seen the movie or listened to the audio book but I can tell you right now - its not as good...
-- script: Install/Schema/Last/run.sql -- Выполняет установку последней версии объектов схемы. -- Определяем табличное пространство для индексов @oms-set-indexTablespace.sql -- Последовательности @oms-run ht_message_seq.sqs -- Таблицы @oms-run ht_discussion_tag.tab @oms-run ht_message.tab @oms-...
<filename>orcas_extensions/pa_generator_h.sql<gh_stars>0 create or replace package pa_generator authid current_user is procedure run( p_model in ot_syex_model ); end; /
SELECT reclada_object.create('{"class": "Context","attributes": {"Lambda": "#@#lname#@#","Environment": "#@#ename#@#"}}'::jsonb); SELECT reclada_object.create(' { "class": "Runner", "attributes": { "task": "512a3dde-23c7-4771-b180-20f8781ac084", "type": "#@#ename#@#", "status": "down",...
<gh_stars>1-10 /* * Copyright (c) 2018 LabKey Corporation * * 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 ap...
-- ============================================= -- Author: <NAME> -- Create date: 2019-11-27 -- Updates: -- 2020-01-02: v0.13.2 revisions in support of sprint 4. -- 2019-12-12: v0.13 Updates in support of sprint 3 & 4. -- 2019-11-27: v0.12 Updates in support of sprint 2 & 3. -- -- Description: T-SQL generated Trig...
<gh_stars>1-10 drop table if exists t1; create table t1 (col1 integer); insert into t1 values(1); insert into t1 values(2); create index idx_t1 on t1 (col1); select /*+ recompile */ col1 from t1 where col1 < 2.3 order by 1; select /*+ recompile */ col1 from t1 where col1 < 2.5 order by 1; drop table t1; create table t...
--test a constant(consist of int and char) as select column name create class DML_0001 ( int_col integer, var_col varchar(20), set_col set (int, varchar(10)) ); insert into DML_0001 values (1,'test1', {1,'test1'}); insert into DML_0001 values (2,'test1', {1,'test1'}); insert into DML_0001 values (3,'test2', {1,'test...
-- Problem: https://www.hackerrank.com/challenges/weather-observation-station-6 SELECT DISTINCT CITY FROM STATION WHERE REGEXP_LIKE(CITY, '^[aeiouAEIOU]');
<filename>_table.sql /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Author: Pali * Created: Nov 12, 2020 */ CREATE TABLE adminlogin ( id serial PRIMARY KEY, txtusername...
/* Script Generado por Evolution - Editor de Formulación de Planillas. 16-01-2017 12:13 PM */ begin transaction delete from [sal].[fcu_formulacion_cursores] where [fcu_codpai] = 'pa' and [fcu_nombre] = 'CuotasIngresosCiclicos'; insert into [sal].[fcu_formulacion_cursores] ([fcu_codpai],[fcu_proceso],[fcu_nombre],[f...
<filename>tests/p_crypt.sql /*{ This file is part of the AF UDF library for Firebird 1.0 or high. Copyright (c) 2007-2009 by <NAME>, OAO <NAME>. See the file COPYING.TXT, included in this distribution, for details about the copyright. This program is distributed in the hope that it will be useful,...
<reponame>iafb/greatreadingadventure  --Create the Insert Proc CREATE PROCEDURE [dbo].[app_PrizeTemplate_Insert] ( @TName VARCHAR(150), @NumPrizes INT, @IncPrevWinnersFlag BIT, @SendNotificationFlag BIT, @NotificationSubject VARCHAR(250), @NotificationMessage TEXT, @ProgID INT, @Gender VARCHAR(1), @SchoolName...
<gh_stars>0 PRAGMA foreign_keys=ON; CREATE TABLE documents ( -- Contains only the id and content fields specified in the provided corpus_schema id integer primary key, data blob ); CREATE TABLE sentences ( id integer primary key, document_id integer, text text, data blob, foreign key(d...
<filename>Lab5/Lab5_2.sql USE lab3; SELECT OrderId, InvoiceNumber, OrderDate, TotalPrice FROM Orders, Employees WHERE Orders.EmployeeId = Employees.EmployeeId AND Name = '<NAME>.' AND OrderDate BETWEEN timestamp('2010-02-01 00:00:00') AND timestamp('2010-02-28 23:59:59'); SELECT 'Монитор' AS Name, ...
CREATE TABLE email_domain ( id ${EMAIL_DOMAIN_ID_TYPE} NOT NULL AUTO_INCREMENT , value ${EMAIL_DOMAIN_VALUE_TYPE} NOT NULL , CONSTRAINT uk_email_domain UNIQUE KEY (value) , CONSTRAINT pk_email_domain PRIMARY KEY (id) ) ;
<reponame>vascoalramos/my-game-stack INSERT INTO GamesDB.[Tournments] VALUES ( 1, 'ESL <NAME> - Spring 2019: Division 2 Playoffs (CS:GO)', '2019-03-24', '2019-04-02', 'Online', 800 ) GO INSERT INTO GamesDB.[Tournments] VALUES ( 2, 'Twitch Rivals Apex Legends Rematch Challenge (EU)', '2019-04-02', '2019-04-02', 'Online'...
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.9.5 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Sep 19, 2020 at 06:49 PM -- Server version: 10.2.33-MariaDB-cll-lve -- PHP Version: 7.3.6 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Author: 17jz0101 <NAME> * Created: 2019/01/17 */ CREATE SEQUENCE S_CUSTOMER START WITH 1001 INCREMENT BY 1 MAXV...
INSERT INTO burgers (name) VALUES ("Big Burger"); INSERT INTO burgers (name) VALUES ("Medium Burger"); INSERT INTO burgers (name) VALUES ("Small Burger"); INSERT INTO burgers (name) VALUES ("Waffle Burger"); INSERT INTO burgers (name) VALUES ("Rude Burger");
INSERT INTO public.webuser (id, username, password, is_active, created_on) VALUES ('d25a7a30-22e0-4169-95b8-bd36368f12d6', 'admin', '<PASSWORD>', true, '2017-05-29 09:03:30.134235'); INSERT INTO public.webuser_attributes (id, id_webuser, attribute_name, attribute_value) VALUES ('cf<PASSWORD>', 'd25a7a30-22e0-4169...
<gh_stars>1-10 -- phpMyAdmin SQL Dump -- version 5.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 27, 2020 at 09:42 AM -- 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_zone = "+00:00"; /*...
INSERT INTO `blogs` (`id`, `text`, `kto`, `time`, `name`) VALUES (1, 'Каждый из нас понимает очевидную вещь: высококачественный прототип будущего проекта выявляет срочную потребность прогресса профессионального сообщества. Имеется спорная точка зрения, гласящая примерно следующее: независимые государства описаны макси...
alter table layer drop column visible;
select first_name, to_char(start_time, 'HH24:MI') as start from schedule where first_name = :firstName;
<filename>airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_tables/TEST_NORMALIZATION/UNNEST_ALIAS_CHILDREN_OWNER.sql create or replace transient table "AIRBYTE_DATABASE".TEST_NORMALIZATION."UNNEST_ALIAS_CHILDREN_OWNER" ...
-- file:foreign_data.sql ln:767 expect:true ALTER TABLE pt2 ALTER c2 SET NOT NULL
/*There is a table World. A country is big if it has an area of bigger than 3 million square km or a population of more than 25 million. Write a SQL solution to output big countries' name, population and area.*/ select name,population,area from World where area>3000000 OR population>25000000
<gh_stars>1-10 -- 2021-10-04T13:59:00.943Z -- URL zum Konzept INSERT INTO AD_Tab (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,AllowQuickInput,Created,CreatedBy,EntityType,HasTree,ImportFields,InternalName,IsActive,IsAdvancedTab,IsCheckParentsChanged,IsGenericZoomTarget,IsGridModeOnly,IsInfoT...
UPDATE creature_template SET scriptname = 'mob_saronit_vapor' WHERE entry = 33488;
<filename>24ElasticSearch/demo/dianping/src/main/resources/ddl.sql CREATE DATABASE IF NOT EXISTS `dianpingdb` DEFAULT CHARSET utf8 COLLATE utf8_general_ci; use dianpingdb; create table user ( id int NOT NULL AUTO_INCREMENT COMMENT '主键', telephone varchar(40) NOT NULL DEFAULT '' COMMENT '电话号码', password varchar(...
-- phpMyAdmin SQL Dump -- version 4.9.5deb2 -- https://www.phpmyadmin.net/ -- -- Anamakine: localhost:3306 -- Üretim Zamanı: 16 Oca 2021, 14:09:28 -- Sunucu sürümü: 8.0.22-0ubuntu0.20.04.3 -- PHP Sürümü: 7.4.13 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /...
-- Name: InsertFileStudy -- Schema: posda_queries -- Columns: [] -- Args: ['file_id', 'study_instance_uid', 'study_date', 'study_time', 'referring_phy_name', 'study_id', 'accession_number', 'study_description', 'phys_of_record', 'phys_reading', 'admitting_diag'] -- Tags: ['bills_test', 'posda_db_populate'] -- Descripti...
-- MySQL Script generated by MySQL Workbench -- 09/10/16 16:25:32 -- Model: New Model Version: 1.0 -- MySQL Workbench Forward Engineering SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITION...
<reponame>chenishr/laravel-gobang -- MySQL Workbench Forward Engineering SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES'; -- ---------------------------------------...
INSERT INTO burgers (burger_name) VALUES ("Burger 1 TEST", false); INSERT INTO burgers (burger_name) VALUES ("Burger 2 TEST TEST", false); INSERT INTO burgers (burger_name) VALUEs ("Burger 3 TEST TEST TEST", false);
<filename>prisma/migrations/20211008233309_/migration.sql /* Warnings: - You are about to drop the column `birth` on the `user` table. All the data in the column will be lost. - You are about to drop the column `password` on the `user` table. All the data in the column will be lost. - Added the required column...
<reponame>anas2830/react_laravel -- phpMyAdmin SQL Dump -- version 4.9.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jan 15, 2020 at 09:48 AM -- Server version: 10.4.11-MariaDB -- PHP Version: 7.4.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zon...
<filename>Minimalistic Balance Acken/Minimalistic Balance Acken/Combat changes/Cities.sql UPDATE Defines SET Value=700 WHERE Name='CITY_STRENGTH_DEFAULT'; /*800*/ UPDATE Defines SET Value=300 WHERE Name='CITY_STRENGTH_HILL_CHANGE'; /*500*/ UPDATE Defines SET Value=35 WHERE Name='CITY_CAPTURE_DAMAGE_PERCENT'; UPDATE Def...
<reponame>lapinator100/abizeitung<filename>inc/db.sql<gh_stars>1-10 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_...