I’am posting on this forum for the first time . and I really hope I can find some help . What I’am doing is load about … 1000 Value (example) from SQL and I’am doing it just fine . the query for example is : Select Value from DatabaseA.dbo.Values that “Value” ==> decimal…
How to regex in a MySQL query
I have a simple task where I need to search a record starting with string characters and a single digit after them. What I’m trying is this SELECT trecord FROM `tbl` WHERE (trecord LIKE ‘ALA[d]%’) …
GROUP_CONCAT in SQLite
I am having data like this by using this query Now, I want to show data like this and so on..I also know it can achieve by GROUP_CONCAT function. So, I tried with this But, It shows me error. So, what I am doing wrong here. What are the right procedure to achieve that? Answer You need to add GROUP
SQL Query Comparing Date
I have a table of items with a ‘date_added’ column. What I want to do is select all the items added during the last two weeks. How can I do that? Answer If you are using MS SQL Server try this code: For MySQL try:
“Alter user sys identified by” not working
First of all, I use: Windows 7 x64 Oracle Enterprise 11g R2 x32 I have some basic experience with SQL Server and MySQL (more with MySQL). Today I started working with Oracle, and I’ve been bumping a lot on the way. The problem I’m having now is that, for some reason, I can’t connect to any s…
Check users in a security group in SQL Server
In the Security/Users folder in my database, I have a bunch of security groups, include “MyApplication Users”. I need to check if I am (or another user is) in this group, but I have no idea how to query for it or where I could see this information. I tried looking in the properties, but couldnR…
SQLzoo, SELECT within SELECT tutorial
I am currently doing this tutorial (http://sqlzoo.net/wiki/SELECT_within_SELECT_Tutorial) and I can’t answer question 8 : Some countries have populations more than three times that of any of their …
Creating a new database and new connection in Oracle SQL Developer
I’ve installed SQL Developer on my system. No connections are being shown in my system yet. How do I create a new connection. Must I create a database first? If yes, then how do I create a new database. The SQL Query Editor window is not opening because there is no connection. All of this because there …
Query Oracle for 12 month moving total (SUM) of data
I need to run a query on some data that brings back the moving 12 month total. I’ve already performed the average function on the data… so now I just need to loop through and get a moving 12 month period of data and SUM it up so I can graph it. Below is the current query i’m issuing but
Need a solution for mysql select data where until
I have a message conversation between two people, user 222 and User 5555, it is displayed like this: Conversation-ID 1, Message-ID 5, User-ID 222: “Oh, and I’m happy about that!” …