Thread: Entered data appears TWICE in table!!?

Entered data appears TWICE in table!!?

From
rmorgan7@austin.rr.com (Ron M.)
Date:
I'm JUST getting started with the online SQL tutorial at
http://sqlcourse.com.  When I create a table and insert data, the data
appears TWICE. A simple example:

***Create the table:

create table rnmrgntable
(first varchar(20),
last varchar(30));

***Insert data:

insert into rnmrgntable
(first, last)
values ('Bill' , 'Smith');

***Then look at the table:

select * from rnmrgntable;

And I get:

first    last
Bill    Smith
Bill    Smith

EVERYTHING I enter appears twice, duplicated on two rows as in this
example.  What the heck's going on?

Ron M.


Re: Entered data appears TWICE in table!!?

From
Jeff Eckermann
Date:
What interface are you using?

--- "Ron M." <rmorgan7@austin.rr.com> wrote:
> I'm JUST getting started with the online SQL
> tutorial at
> http://sqlcourse.com.  When I create a table and
> insert data, the data
> appears TWICE. A simple example:
> 
> ***Create the table:
> 
> create table rnmrgntable
> (first varchar(20),
> last varchar(30));
> 
> ***Insert data:
> 
> insert into rnmrgntable
> (first, last)
> values ('Bill' , 'Smith');
> 
> ***Then look at the table:
> 
> select * from rnmrgntable;
> 
> And I get:
> 
> first    last
> Bill    Smith
> Bill    Smith
> 
> EVERYTHING I enter appears twice, duplicated on two
> rows as in this
> example.  What the heck's going on?
> 
> Ron M.
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 7: don't forget to increase your free space map
settings


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/


Re: Entered data appears TWICE in table!!?

From
Jeff Eckermann
Date:
--- Ron Morgan <rmorgan7@austin.rr.com> wrote:
> Both Internet Explorer and Safari, on a Mac running
> OS X.
> 
> I'm just using the tutorial web site at
> sqlcourse.com.  They have a window
> there where you type code and run it, etc.
> 
> Ron
>

I recall doing that tutorial once upon a time.  A very
good thing.

But I don't see the connection to PostgreSQL.  Perhaps
you can explain it?
> ----- Original Message ----- 
> From: "Jeff Eckermann" <jeff_eckermann@yahoo.com>
> To: "Ron M." <rmorgan7@austin.rr.com>;
> <pgsql-sql@postgresql.org>
> Sent: Monday, April 05, 2004 5:33 PM
> Subject: Re: [SQL] Entered data appears TWICE in
> table!!?
> 
> 
> > What interface are you using?
> >
> > --- "Ron M." <rmorgan7@austin.rr.com> wrote:
> > > I'm JUST getting started with the online SQL
> > > tutorial at
> > > http://sqlcourse.com.  When I create a table and
> > > insert data, the data
> > > appears TWICE. A simple example:
> > >
> > > ***Create the table:
> > >
> > > create table rnmrgntable
> > > (first varchar(20),
> > > last varchar(30));
> > >
> > > ***Insert data:
> > >
> > > insert into rnmrgntable
> > > (first, last)
> > > values ('Bill' , 'Smith');
> > >
> > > ***Then look at the table:
> > >
> > > select * from rnmrgntable;
> > >
> > > And I get:
> > >
> > > first    last
> > > Bill    Smith
> > > Bill    Smith
> > >
> > > EVERYTHING I enter appears twice, duplicated on
> two
> > > rows as in this
> > > example.  What the heck's going on?
> > >
> > > Ron M.
> > >
> > > ---------------------------(end of
> > > broadcast)---------------------------
> > > TIP 7: don't forget to increase your free space
> map
> > settings
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Small Business $15K Web Design Giveaway
> > http://promotions.yahoo.com/design_giveaway/
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system
> (http://www.grisoft.com).
> Version: 6.0.644 / Virus Database: 412 - Release
> Date: 3/26/2004
> 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/