Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged SQL

0 votes
997 views
1 answer
    I have a 3 table SQLServer Database. Project ProjectID ProjectName Thing ThingID ThingName ProjectThingLink ProjectID ThingID ... of doing this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Given a table like this: cust_id time 123 2015-01-01 12:15:05 123 2015-01-01 12:17:06 123 2015-01- ... tossing a window function into the mix. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have two tables: Names(id, name) Addresses(id, name_id, address) I want to write query that return me: name, ... name_id) B ON A.id=B.name_id See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Take the tsql query below: DECLARE @table TABLE(data VARCHAR(20)) INSERT INTO @table VALUES ('not duplicate row ... query was found here Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I have a table of startTime and endTimes. I need to generate a table of intervals between those two dates in ... 09:00 in 10 minute increments. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
922 views
1 answer
    I've been searching the internet for hours trying to figure out if the following is even possible: To ... ideas are greatly appreciated :) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I have a question which has been bugging me for a couple of days now. I have a table with: Date ID Status_ID ... that they are now grouped by. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    How can I use the GROUP_CONCAT function on MSSQL while MySQL is running? current table; QUESTION_ID ANSWER_ID USER 1. ... C thanks in advance.. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm still learning SQL and I found a couple of solutions on SQL Server or Postgreы, but it doesn't seen to ... 14:01:17 desired output 01:36 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am running this command on a table : ALTER TABLE testTable ADD column1 NUMBER(1) DEFAULT 0 NOT NULL; And ... number Any thoughts on this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
936 views
1 answer
    I have a table (in MySQL) with 3 columns: Location Category Supplier A Computers Company X A Printers Company Y B ... Excel myself. Any idea's? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I want to create a MySQL trigger that updates a table everytime one of the datetime rows in a different table ... the counter upped by 1. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    i am converting a sql server script where i need to convert PATINDEX() in MYSQL. would you please suggest ... function is similar to PATINDEX() See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
930 views
1 answer
    I have the following table structure: So each forum post has a parent, who also has a parent(except the ... Any help is appreciated. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
919 views
1 answer
    is there a way to update automatically the values of a column in a table in Mysql DB with a predifined value ... two years for each employee. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a SQL statement like this: EDIT : SELECT location as Location FROM Table1 WHERE OnsiteOffshore = 'Offshore' AND ... how to get the same. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    How can I do the following join in EF? Tables have no relation with each other, no foreign keys. Select t1. ... t2 where t1.firstname = t2.name See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
867 views
1 answer
    Using a plpgsql procedure to extract a record if it exists, and then if it does, do something with it. The ... row from a SELECT * INTO? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Will Mssql be even fast when I query on a view opposed to one query? example When I have this ... Invoices.CustomerID where customername="Bart" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
911 views
1 answer
    If you could choose the database you want and have to store (query and update) word synonyms then what database would ... 't be a problem here). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I'm using an Informix (Version 7.32) DB. On one operation I create a temp table with the ID of a regular ... page, then 500 in the next page See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Just found out that Oracle does not like it when you use the AS keyword to alias a subquery: SELECT * ... above query affect any other RDBMS? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am successfully using Powershell with SMO to backup most databases. However, I have several large databases in which I ... 05/06/2010 15:43:23 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    How would I do in a SELECT query to reverse this path : z/y/x for x/y/z where / is the delimiter and where ... /v/u ...) reversed_path from ... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
979 views
1 answer
    I have two tables that look like this: ('MASTER_EOD' TABLE) ID SHA1_HEX ROLE -------------------- ... Access is throwing the error that it does. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
995 views
1 answer
    I'm trying to fetch the most popular tags from all videos in my database (ignoring blank tags). I also need the 'flv' for ... ----------------+ See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
927 views
1 answer
    I have one very dirty query that per sure can be optimized because there are so many CASE statements in it! ... welcome! TnX in advance! Nemanja See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have got MySQL error "You can't specify target table 'tasks' for update in FROM clause" running the following ... can I manage this? Thanx! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...