7,368 Topics

Member Avatar for
Member Avatar for Nperic

Hey guys, im in deep need of help for mysql. Ive been given a few questions most of them answered although theres 3 which are really bringing me down. I was wondering if u could get some help :D Given this schema borrow([U]transactionID[/U], personID*, borrowdate, duedate, returndate) author([U]authorID[/U], firstname, middlename, …

Member Avatar for cfAllie
0
567
Member Avatar for JokerOfACoder

I'm building a large scale application and was wondering the difference between static counts vs dynamic counts. Right now, I'm using dynamic counts. For an example: [code] SELECT *, (SELECT COUNT(1) FROM CarImages WHERE CarImages.carid = Cars.id) as ImageCount, (SELECT COUNT(1) FROM CarBuyers WHERE CarBuyers.carid = Cars.id) as BuyerCount, (SELECT …

Member Avatar for cfAllie
0
172
Member Avatar for pink_zippy_123

Hi, I am currently trying to write some sql that includes a where clause to limit responses but will leave blanks where there is no match. I will include the code so its easier to understand: SELECT DISTINCT teacher.teachername, student.studentname, results.grade FROM teacher INNER JOIN student ON teacher.teachername = student.teachername …

Member Avatar for cfAllie
0
83
Member Avatar for TrojanFrost

hi guys.. i really tried many things to solve this problem.. but i really cant figure this out.. i have 2 tables actually its 3 tables but the other is just for the user's account so here it is: [B] employee table [/B] ins_ID -> pk emp_ID* -> unique key …

0
73
Member Avatar for Grumps

This is my current database structure [php] create table tournament ( tid int(5) not null auto_increment, period varchar(20) not null, Primary key (tid)); create table game ( gid int(6) not null auto_increment, tid int(5) not null references tournament(tid), Primary key(gid)); create table results ( gid int(6) not null references game(gid), …

0
67
Member Avatar for ep2002

Hi there, I'm trying to screen some programmers I'm looking to potentially hire & I have a list of questions a previous programming consultant drew up, but I don't know what to do with them b/c he did the screening b4. Can someone please help me determine if I place …

Member Avatar for arun555_m
0
135
Member Avatar for BeerGuzler

Hi , I've been working on comparison query with PHP and MySql 5.0 yet not getting anywhere with it. I'm trying to perform a search ( query ) I have several tables within the same database that contain same fields yet hold different data eg Table 1 id |Product | …

Member Avatar for arty56
0
178
Member Avatar for Turnkey_Websites

Hello, I have two databases on my website lebphoto.com with the same tables. One with a 1665 members and the other with 33 members, I want to merge them together. is there a way other than typing each records by myself or ask the members to register again? Thank you

Member Avatar for arty56
0
201
Member Avatar for desiguru

I know this is pretty dumb question but I just wanted to ask because I am not sure if I can figure it out by myself. :( So here is the deal. I have a mysql database called "appinfo" there there is a table called "appdis" Now in that table …

Member Avatar for stupidenator
0
84
Member Avatar for sliver_752

Hello all, Is there any algorithm to convert a python tuple to [URL="http://www.daniweb.com/techtalkforums/thread74502.html#"]MySql query[/URL]. Ex: [B] ('*','name','sliver')[/B] should convert to [B] select [Pri_Key] from [All Tables] where 'name' = 'sliver';[/B] I have been able to do so ... but my [URL="http://www.daniweb.com/techtalkforums/thread74502.html#"]algorithm[/URL] looks very ugly and have to process everything bit …

Member Avatar for iamthwee
0
73
Member Avatar for brandon.arnold

Hey, first poster here: I'm not actually running on MySQL (I'm using MS), but my question is more of a design issue. The model I've been using is perfect for maintaining relationships between data logging devices I have in the field, and so-so in keeping an aggregate of that data …

0
55
Member Avatar for Corey_56044

Please help - Why can I get this sql to work? SELECT Count(dsd.price) Total , dsd.reporting_date , dsd.reporting_state_type , dsd.requisition_id Order_id , round((sum(decode(dsd.reporting_state_type,'SHIPMENT',dsd.price, 0)) - sum(decode(dsd.reporting_state_type,'RETURN_RECEIPT',dsd.price, 0))) Net_Orders from dw_sales_data dsd, dw_programs dp where dsd.program_id = dp.program_id and dsd.program_id = '4387300' group by dsd.reporting_date, Order_id, dsd.reporting_state_type, Net_Orders_Com, Net_Orders_Ret, Net_Orders;

Member Avatar for stupidenator
0
93
Member Avatar for jaku78

Well, whenever I try to run a user verify script, that asks SQL if a username is not taken, I always get this response... [quote][B]Warning[/B]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [B]dir/userver.inc[/B] on line [B]11[/B] count unavailable[/quote] this is the code in general: [php]<?php //User …

Member Avatar for GliderPilot
0
121
Member Avatar for ryy705

Hi, This is a simplified problem for a mock book store I am trying to build. I have been stuck on this all morning. Any help would be appreciated. Thanks. [U] SET 1[/U] | 1 | a | | 2 | b | | 3 | c | | 1 …

0
45
Member Avatar for Hanginout
Member Avatar for stymiee
0
69
Member Avatar for sibotho

Hi all Can someone tell me how to connect to msql database using c# 2003. can you please show me the steps to take. i have tried many times without success. Are they compatile? Thanks sibotho

Member Avatar for hollystyles
0
94
Member Avatar for mulesy

Hi there, I am relatively new to MYSQL and i have to design a database for stock for a dvd firm, this database has to link up to a website, the website is a DVD firm so the only things that needs to recorded in the database is how much …

Member Avatar for sibotho
0
175
Member Avatar for bhuvan83

is there any way through which we can generate reports in mysql. not using any s/w but coding. if yes plz tell me Thanks

Member Avatar for jbennet
0
88
Member Avatar for bhuvan83

hi all i m making a project using jsp as my front end and mysql as my back end. i had to change backend from oracle to mysql bcoz of clients request. now there is 1 problem i m facing. there a password change option. person enters its old password …

Member Avatar for peter_budo
0
104
Member Avatar for EnderX

Does anyone know the name of the MySQL library package? I'm working with a server that recently had an upgrade from PHP 4 to PHP 5, and apparently PHP no longer provides built-in library files for MySQL. The system in question should have the libraries from PHP4 on it somewhere, …

Member Avatar for mmxx66
0
76
Member Avatar for Anaa

I hav calculated a value(years).Now i want 2 merge it with an attribute of a table.So i want 2 merge ml_y and 2.then i want to find the value of ml_y2 frm a table....plzzzzzzzz help me .can i do somthing like this in MY SQL???

Member Avatar for mmxx66
0
121
Member Avatar for webbyboy

[B]When i try to access this page: it shows this: Warning: mysql_query(): 2 is not a valid MySQL-Link resource in /user/langlab/wwwhome/signup/signup_adm.html on line 28 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /user/langlab/wwwhome/signup/signup_adm.html on line 29 Warning: mysql_query(): 2 is not a valid MySQL-Link resource in …

Member Avatar for mmxx66
0
94
Member Avatar for bhuvan83

i m exporting my table from one system to another. when i do shell# mysql databasename<file.txt i get the error given above. the table i create is -> CREATE TABLE entrytab ( uname varchar(10) default NULL, enterDate date default NULL, status varchar(10) default NULL, productName varchar(15) default NULL, featureName varchar(20) …

0
82
Member Avatar for bhuvan83

hi every1 i m using jbuilder9 to develop my website and mysql as its back end when i use mysql with simple java program it runs as i store the jconnector in jdk1.3/lib/ext. but when i stor the jconnector in jbuilder/jdk1.3/lib/ext it does not work. can any 1 plz tell …

Member Avatar for bhuvan83
0
72
Member Avatar for bhuvan83

hi every1 i hv created my database in mysql now i have to run the s/w on my clients system. can any 1 plz tell me the steps to export the mysql database and then to import it on my clients computer. thanks in adv

Member Avatar for bhuvan83
0
85
Member Avatar for veeyen

Hi I am very new to MySql. I want to use Navicat along with MySql server to develop and maintain very simle database in future. Up to this point it is OK. I want to develop and maintain a small customer database. My question is do I need a GUI …

Member Avatar for jbennet
0
89
Member Avatar for dami06

Hi, Can someone please give me examples or teach me how to design and implement in MySQL a normalised database for any case study they have in mind.. Please help me out as it would really help understand a lot better or if you can give me a link to …

Member Avatar for katharnakh
0
81
Member Avatar for tech291083

Hi, I am trying to get my head around the whole database theme by learning MySQL on my own with the help of a couple of easy to use books and some online forums including this one. Is this is the right choice in terms of learning the database related …

0
57
Member Avatar for dami06

Hi, I am trying to understand MySQL as i am new to this and i have a few queries I am having problems with and I was wondering if anyone can help me with it.. How would you solve this problem using the Select, from, where etc commands. For example …

Member Avatar for dami06
0
137
Member Avatar for Dhanapal

[COLOR=midnightblue]The INSERT statement conflicted with the FOREIGN KEY constraint "FK_yaf_Forum_yaf_Category". The conflict occurred in database "yafnet", table "dbo.yaf_Category", column 'CategoryID'. The statement has been terminated. How to solve this error...........[/COLOR]

0
64

The End.