sql tag

625 questions


1 answers
118 views
0
Python 3 MySQL connection failed

import pymysqlimport MySQLdb'''db = MySQLdb.connect(host=13.209.68.158, # your host, usually localhost user=Woo, # your username passwd=cbnuroot123, # your password db=CBNU) # name of the d...

2 years ago

1 answers
147 views
0
Problems with JAVA 8 Local Date Time data type being stored as a bytea data type in PostgreSQL when using Hibernate 5.0.9

Hibernate 5.0.9 version Dialect is using postgresql. To use the new java.time package in Java8, add jackson-datatatatype-jsr310 dependency and use it.When the field is declared and DDL is automaticall...


2 answers
119 views
0
How MySQL conditions the select result value of another table and queries

Here's what I want to do.Example A)select col_name from table_a where col_name like '%val%';Result A)val1val2val3Example B)select col, count(col) from table_bwhere color '%result A value 1%' OR color ...

2 years ago

2 answers
114 views
0
Is there a grammar like FOR sentence in MSSQL?

If there are 10 pieces of data, we will take out data from 1st to 10th, compare it with data from other tables, and then process INSERT or UPDATE. I wonder if there is a grammar that can be compared b...

2 years ago

1 answers
157 views
0
Bring 4 limit each by combining the various filter conditions of sqlalchemy sentence???

ended_94 = db.session.query(Ended_event).filter(Ended_event.league_id == 94).order_by(Ended_event.time.desc()).limit(4)ended_99 = db.session.query(Ended_event).filter(Ended_event.league_id == 99).orde...

2 years ago

1 answers
56 views
0
I'm developing it for a long time, do you register an email with the postgresql user?

I am currently using postgresql 9.4 with postgis 2.1. I'm trying to make an application with a long storage.

2 years ago

1 answers
33 views
0
I have a SQL case statement question.

I have a question because it is my first time to see the sql door.I knew that the case statement was used to set the conditional expression CASE Column Name | Expression WHEN Conditional Expression 1 ...

sql
2 years ago

1 answers
37 views
0
Search MySQL Bulletin

Hello, I'm a student implementing a bulletin board search.When writing implements pagenation on the current bulletin board at more than 1 million rows, The number of pages is calculated by using a sep...

2 years ago

1 answers
33 views
0
Do you have any questions when entering database data?

Table 1, Table 2, Table 3 are made like this, and when you calculate table 1 and 2 data and insert it into table 3, it is too difficult to make it into sql statements. 프로그래 I'm going to make the n...

2 years ago

1 answers
158 views
0
ORM: Sequelize: I want to change mySQL query to Sequelize.js query.

A query is a self-joined sentence with one table as follows:SELECT cat.cat_id, cat.cat_name, sub_cat.cat_id, sub_cat.cat_nameFROM Categories AS catLEFT JOIN Categories AS sub_catON sub_cat.parent = ca...

« - 51 - »

© 2024 OneMinuteCode. All rights reserved.