Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

database sql

0
votes
1 answers
89 views

How to translate from SQL to NoSQL/MapReduce?

I have a background working with relational databases but recently started to dabble in CouchDB and was surprised by how some non-relational…
asked June 25, 2011 1:11 pm CDT
sferik
0
votes
3 answers
66 views

Different table for insert and select

In order to improve insert performance and load on server, I've decided to divide a large table into 2. A big table which will only be used for…
asked June 25, 2011 11:07 am CDT
Noam
0
votes
2 answers
53 views

Sql insert statement sometimes working other times not working

Im building an application and Im having a bizarre issue where sometimes an sql statement will work and the very next call the exact same sql…
asked June 25, 2011 11:05 am CDT
edmund
0
votes
0 answers
44 views

Event generation in database based on time

I am wondering if there is any method available to implement event trigger based on time. Lets say i want to deleted/modify a record in a certain…
asked June 24, 2011 9:08 am CDT
fastian-developer
0
votes
5 answers
33 views

MySQL replace parent name with parent id

I have a Table (t) like this t.Name t.Parent t.Id John Bob 1 Frank Bob 2 Alice Frank 3 Tim John 4 Lucy Bob 5 Tim Frank 6 ... Now I want to replace…
asked June 24, 2011 6:52 am CDT
ulvund
0
votes
2 answers
49 views

Confused on a somewhat complex LEFT/RIGHT JOIN query

thanks for taking the time to read this. Essentially I have 3 tables. Posts, Follows, Artists. What I am trying to do is pull all the 'Posts' from…
asked June 23, 2011 7:16 pm CDT
Jonathan Coe
0
votes
2 answers
33 views

MySQL join 1 record in table A to many in table B as a single row

I want to query across two tables: members and payments . One member record could join with many payments. However, I need each payment record to be…
asked June 23, 2011 3:40 pm CDT
Ted Avery
2
votes
3 answers
43 views

Can not issue data manipulation statements with executeQuery()

I use com.mysql.jdbc.Driver I need insert and get id. My query: INSERT INTO Sessions(id_user) VALUES(1); SELECT LAST_INSERT_ID() FROM Sessions LIMIT…
asked June 23, 2011 8:16 am CDT
simply denis
0
votes
2 answers
28 views

What kind of data is highly relational

I'm new to databases, and is exploring SQL vs noSQL. What kind of data is highly relational and benefits from SQL and what kind of data does not?…
asked June 22, 2011 4:26 pm CDT
Mark
1
vote
4 answers
39 views

Am I running too many subqueries in my SQL statement?

I have the following tables: users: user_id user_name message: message_id thread_id to_id from_id title message_text message_date status The desired…
asked June 22, 2011 10:29 am CDT
bigmike7801
0
votes
2 answers
37 views

Audit logging for Products / Options / Exras tables?

I dont know what type of Audit logging system do I need for my tables design. Sometime staff change the name of the product, price, options or…
asked June 21, 2011 6:35 pm CDT
user622378
0
votes
1 answer
24 views

Fetching string from database in php only returns part before a space

i am trying to display a varchar(40) from database to php page field. the value in database is "test address" but when it displays on page it only…
asked June 21, 2011 11:14 am CDT
jaminator
0
votes
4 answers
33 views

Database Design feedback

An invoice can contain 1 or more orders, how to archive this? Example of Invoice: OrderID | Order Date | Amount 31 10/02/2011 £1.50 43 12/02/2011…
asked June 21, 2011 10:09 am CDT
user791022
0
votes
7 answers
35 views

A Column called Status in MySql

I've been using MySql and I need to column called Status in a table. I know this word 'Status' is a keyword in mysql, and I would like to know if…
asked June 21, 2011 9:55 am CDT
Felipe
0
votes
3 answers
27 views

Is this query possible?

Here is my table: table employee ( char(50) name datetime startdate datetime finishdate } Assume that at least one employee started everyday since…
asked June 20, 2011 9:12 pm CDT
stochastic
1
vote
2 answers
27 views

Need Help Installing MySQL

I have downloaded and stalled the MySQL server 5.5 version via .DMG on my Mac. But I am confused as to what to do next. I have the preference…
asked June 20, 2011 6:23 pm CDT
Faisal
0
votes
2 answers
46 views

How to connect the users table to the roles table (using the table user_roles)?

I need to create a basic database for user authentication. So far, every user has a name, a password and a role. I've found this somewhere on the…
asked June 20, 2011 4:14 pm CDT
Oliver Weiler
0
votes
1 answer
43 views

Help with SELECT DISTINCT

I have a plans table: tariff | monthly_cost -------------------------- Lion , 15.00 Lion , 20.00 Cat , 15.00 Cat , 20.00 Cat Extra , 20.00 Cat Extra…
asked June 20, 2011 7:04 am CDT
user791022
0
votes
3 answers
31 views

Database architecture of newsletter service (with php)

I am building a service which provides a newsletter system for the users. My question is, how to organize it on the database? user opens account…
asked June 19, 2011 2:21 pm CDT
Luis
0
votes
2 answers
40 views

MySQL Query Two Table Join

having a little trouble with this query. I have two tables ... Account - ResourceID (int) AccountID (int) (unique auto-inc) Resource - TextName…
asked June 17, 2011 12:22 pm CDT
Brian Patterson
Pages : 1 | 2 | 3 | 4 | 5 > [20]
400

database sql

Tagged: database + sql
Related Tags
mysql × 3105
php × 642
postgresql × 429
database × 399
sqlite × 333
query × 290
join × 157
c# × 91
sql-server × 85
select × 72
asp.net × 66
regex × 55
android × 54
sqlite3 × 53
insert × 51
update × 50
phpmyadmin × 50
java × 49
performance × 47
order-by × 47
oracle × 46
html × 44
group-by × 43
optimization × 42